Re: [PHP] php 5 soap question



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@xxxxxxx> 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@xxxxxxxxx]
*Sent:* Friday, September 28, 2007 2:27 PM
*To:* Hurst, Michael S.
*Cc:* php-general@xxxxxxxxxxxxx
*Subject:* Re: [PHP] php 5 soap question



can you post the url of the wsdl ?

-nathan

On 9/28/07, *Hurst, Michael S.* <mshurst@xxxxxxx> 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@xxxxxxx










Relevant Pages

  • Re: [PHP] nuSoap client SOAP Call problem
    ... Then serialize the envelope so it looks like a SOAP request. ... The action variable is that the URL of the WSDL? ... I guess you didn't provide a namespace in the serializeEnvelope method. ...
    (php.general)
  • Re: [PHP] nuSoap client SOAP Call problem
    ... First create your request XML. ... Then serialize the envelope so it looks like a SOAP request. ... The action variable is that the URL of the WSDL? ... But in the meantime i've been trying some other things with NuSOAP. ...
    (php.general)
  • Re: SOAP Question
    ... reconstructed from that base URL (with the WSDL) and then a request is sent ... and send it to the vendor exposing the web service (if you think ... >I am working on a new program that uses a SOAP interface. ...
    (microsoft.public.dotnet.languages.csharp)
  • DIME Attachments & WSDL
    ... I was working on WSE 2.0 & DIME. ... SDK and saved the SOAP request into a file. ... A related question is about WSDL. ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Re: simple mock web service
    ... that does signal EOF at the end of the request. ... translated it to a String using the platform default character encoding. ... XML files have the encoding clearly indicated in the PI at the top ... change the wire representation of an XML document (such as a SOAP ...
    (comp.lang.java.help)