Google Mail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
php sca can not reference the wsdl that made by java!help
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Follow-up To:
Add Cc | Add Follow-up to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers that you hear
 
jackyrong  
View profile   Translate to Translated (View Original)
 More options 27 Feb, 09:23
From: jackyrong <jackyr...@tom.com>
Date: Fri, 27 Feb 2009 01:23:07 -0800 (PST)
Local: Fri 27 Feb 2009 09:23
Subject: php sca can not reference the wsdl that made by java!help
i use java create a wsdl which published in Tomcat 6,the wsdl is:
 <?xml version="1.0" encoding="UTF-8" ?>
- <wsdl:definitions name="IUserserviceService" targetNamespace="http://
service.tuscanytest.com/" xmlns:tns="http://service.tuscanytest.com/"
xmlns:SOAP="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:SOAP11="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xs="http://
www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/
wsdl/">
- <wsdl:types>
- <xs:schema version="1.0" xmlns:xs="http://www.w3.org/2001/
XMLSchema">
- <xs:complexType name="user">
- <xs:sequence>
  <xs:element minOccurs="0" name="address" type="address" />
  <xs:element minOccurs="0" name="id" type="xs:string" />
  <xs:element minOccurs="0" name="name" type="xs:string" />
  <xs:element minOccurs="0" name="password" type="xs:string" />
  </xs:sequence>
  </xs:complexType>
- <xs:complexType name="address">
- <xs:sequence>
  <xs:element minOccurs="0" name="street" type="xs:string" />
  </xs:sequence>
  </xs:complexType>
  </xs:schema>
- <xs:schema attributeFormDefault="qualified"
elementFormDefault="unqualified" targetNamespace="http://
service.tuscanytest.com/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <xs:element name="getAllResponse">
- <xs:complexType>
- <xs:sequence>
  <xs:element minOccurs="0" name="return" nillable="true"
type="xs:anyType" />
  </xs:sequence>
  </xs:complexType>
  </xs:element>
- <xs:element name="getAll">
  <xs:complexType />
  </xs:element>
  </xs:schema>
  </wsdl:types>
- <wsdl:message name="getAllResponse">
  <wsdl:part name="getAllResponse" element="tns:getAllResponse" />
  </wsdl:message>
- <wsdl:message name="getAll">
  <wsdl:part name="getAll" element="tns:getAll" />
  </wsdl:message>
- <wsdl:portType name="IUserservice">
- <wsdl:operation name="getAll">
  <wsdl:input message="tns:getAll" />
  <wsdl:output message="tns:getAllResponse" />
  </wsdl:operation>
  </wsdl:portType>
- <wsdl:binding name="IUserserviceBinding" type="tns:IUserservice">
  <SOAP:binding style="document" transport="http://schemas.xmlsoap.org/
soap/http" />
- <wsdl:operation name="getAll">
  <SOAP:operation />
- <wsdl:input>
  <SOAP:body use="literal" />
  </wsdl:input>
- <wsdl:output>
  <SOAP:body use="literal" />
  </wsdl:output>
  </wsdl:operation>
  </wsdl:binding>
- <wsdl:service name="IUserserviceService">
- <wsdl:port name="IUserservicePort"
binding="tns:IUserserviceBinding">
  <SOAP:address location="http://172.16.18.15:8085/tuscanytest/
UserService" />
  </wsdl:port>
  </wsdl:service>
  </wsdl:definitions>

when i use php to call it,i use the code :
include 'SCA/SCA.php';
$greeting_service  = SCA::getService('http://172.16.18.15:8085/
tuscanytest/UserService?wsdl');
while ($arr=$greeting_service->getAll())
 {

 echo($arr["name"]);
 }

but i can not get any result,why?


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
jackyrong  
View profile   Translate to Translated (View Original)
 More options 4 Mar, 15:45
From: jackyrong <jackyr...@tom.com>
Date: Wed, 4 Mar 2009 07:45:40 -0800 (PST)
Local: Wed 4 Mar 2009 15:45
Subject: Re: php sca can not reference the wsdl that made by java!help
nobody know the reason?

On 2月27日, 下午5时23分, jackyrong <jackyr...@tom.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google