[PHP] php 5 soap question

2007-09-28 Thread Hurst, Michael S.
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

[EMAIL PROTECTED]

 

 

 



Re: [PHP] php 5 soap question

2007-09-28 Thread Nathan Nobbe
have you used soap ui http://www.soapui.org/ before?
its a great tool for testing interaction w/ web services before you
implement a client layer in your
own code because it shows sent and received xml.

-nathan

On 9/28/07, Hurst, Michael S. [EMAIL PROTECTED] 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

 [EMAIL PROTECTED]










Re: [PHP] php 5 soap question

2007-09-28 Thread Nathan Nobbe
can you post the url of the wsdl ?

-nathan

On 9/28/07, Hurst, Michael S. [EMAIL PROTECTED] 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

 [EMAIL PROTECTED]










RE: [PHP] php 5 soap question

2007-09-28 Thread Hurst, Michael S.
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:[EMAIL PROTECTED] 
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. [EMAIL PROTECTED] 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

[EMAIL PROTECTED] 








 



Re: [PHP] php 5 soap question

2007-09-28 Thread Rob Richards

__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:[EMAIL PROTECTED] 
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. [EMAIL PROTECTED] 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

[EMAIL PROTECTED] 









 





--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] php 5 soap question

2007-09-28 Thread Nathan Nobbe
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. [EMAIL PROTECTED] 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:[EMAIL PROTECTED]
 *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.* [EMAIL PROTECTED] 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

 [EMAIL PROTECTED]