Re: php 5 soap question
| From: | Nathan Nobbe | Date: | Fri, 28 Sep 2007 20:10:42 +0000 |
| Subject: | Re: php 5 soap question | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-262571@lists.php.net to get a copy of this message | ||
i recommend playing around w/ soap ui then; its helped me understand how to
structure many requests using SoapClient and there is no doubt it has saved
me a great deal of time. once you see the request xml that soap ui
generates you can understand how to structure a call to the web service
using SoapClient.
-nathan
On 9/28/07, Hurst, Michael S. <mshurst@bsu.edu> wrote:
>
> I would have to get approval before I can do that. I can probably post a
> portion of the wsdl but not sure that it would be something that is wanted
> to be made public in its current form. I will need to find out.
>
>
>
> Mike
>
>
>
>
>
> *From:* Nathan Nobbe [mailto:quickshiftin@gmail.com]
> *Sent:* Friday, September 28, 2007 2:27 PM
> *To:* Hurst, Michael S.
> *Cc:* php-general@lists.php.net
> *Subject:* Re: [PHP] php 5 soap question
>
>
>
> can you post the url of the wsdl ?
>
> -nathan
>
> On 9/28/07, *Hurst, Michael S.* <mshurst@bsu.edu> wrote:
>
> I am trying to find out how to use php 5 to access a wsdl with the
> following structure.
>
>
>
> How do you send parameters to the service if the wsdl is like the
> following.
>
> - <s:element name="getPayment">
> - <s:complexType>
> - <s:sequence>
> <s:element minOccurs="0" maxOccurs="1" name="pi"
> type="tns:paymentInput"
> />
> </s:sequence>
> </s:complexType>
> </s:element>
> - <s:complexType name="paymentInput">
> - <s:sequence>
> <s:element minOccurs="0" maxOccurs="1" name="var1"
> type="s:string" />
> <s:element minOccurs="0" maxOccurs="1" name="var2"
> type="s:string" />
> <s:element minOccurs="0" maxOccurs="1" name="var3"
> type="s:string" />
> <s:element minOccurs="0" maxOccurs="1" name="var4"
> type="s:string" />
> <s:element minOccurs="0" maxOccurs="1" name="var5"
> type="s:string" />
> <s:element minOccurs="0" maxOccurs="1" name="var6"
> type="s:string" />
> <s:element minOccurs="0" maxOccurs="1" name="var7"
> type="s:string" />
> </s:sequence>
> </s:complexType>
>
> It is similiar but I can find nothing that addresses this sort of
> structure and I am at a loss as how to send vars to the request using
> php 5.
>
>
>
> I have looked for several days and cannot figure this out.
>
>
>
> I didn't know if there was a page you could direct me to.
>
>
>
> Mike Hurst
>
> mshurst@bsu.edu
>
>
>
>
>
>
>
>