Re: [PHP] php 5 soap question



__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@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

  • SOAP and Oracle
    ... I'm needing to develop a SOAP server on Linux connecting to Oracle 10g. ... So far I am looking at the Zend Oracle PHP for the server, however I keep coming up to the sticking point - WSDL. ... I cannot find any tools to assist in the creation of the WSDL from PHP classes, nor can I find any PHP5 compatible tools which allow direct creation of the SOAP interface. ...
    (comp.databases.oracle.tools)
  • Re: consume ASP.NET web service with PHP
    ... > consume it in PHP. ... This web service will simply query a database. ... Does PHP query the WSDL file, or does the ASP service query the PHP ...
    (comp.lang.php)
  • passing variable amount of complex types to WSDL SOAP webservice?
    ... i have a problem using a .NET WSDL Webservice from PHP. ... SOAP client cannot pass a variable amount of complex datatypes to the WSDL ...
    (comp.lang.php)
  • Re: Frage zu WSDL-File
    ... Konzept bzgl. WSDL begreifen, damit ich das auch sonst nutzen kann, wenn ich ... Z.B. habe ich einen WebService in PHP, den ich mit einem Client geschrieben ... Falls es nur um PHP geht, kann ich die Bibliothek NUSOAP ( ...
    (microsoft.public.de.german.entwickler.dotnet.csharp)
  • RE: [PHP] PHP and SAP Business One DI Server
    ... other options for PHP 4 (PHP 5 has a native Soap Extension, ... tell you that I've READ NuSoap has more features, ... I don't have a clue of how the SAP ... $wsdl = new wsdl; ...
    (php.general)