Re: php 5 soap question
| From: | Rob Richards | Date: | Fri, 28 Sep 2007 19:04:00 +0000 |
| Subject: | Re: php 5 soap question | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-262570@lists.php.net to get a copy of this message | ||
__getTypes() and __getFunctions() are your friends.
They tell you alot about the functions and structure of parameters and return types.
Rob
Hurst, Michael S. 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