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: 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:
> 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 :
> echo($arr["name"]);
> but i can not get any result,why? 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.
| ||||||||||||||