Hi Anne,
 
Here is WSDL
 
 <?xml version="1.0" encoding="UTF-8" ?>
- <wsdl:definitions targetNamespace="urn:SmartConnection" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="urn:SmartConnection" xmlns:intf="urn:SmartConnection" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
- <!--
WSDL created by Apache Axis version: 1.2RC3
Built on Feb 28, 2005 (10:15:14 EST)
  -->
- <wsdl:types>
- <schema elementFormDefault="qualified" targetNamespace="urn:SmartConnection" xmlns="http://www.w3.org/2001/XMLSchema">
- <element name="LogOn">
- <complexType>
- <sequence>
  <element name="User" nillable="true" type="xsd:string" />
  <element name="Password" nillable="true" type="xsd:string" />
  <element name="Ticket" nillable="true" type="xsd:string" />
  <element name="Server" nillable="true" type="xsd:string" />
  <element name="ClientName" nillable="true" type="xsd:string" />
  <element name="Domain" nillable="true" type="xsd:string" />
  <element name="ClientAppName" nillable="true" type="xsd:string" />
  <element name="ClientAppVersion" nillable="true" type="xsd:string" />
  <element name="ClientAppSerial" nillable="true" type="xsd:string" />
  </sequence>
  </complexType>
  </element>
- <element name="LogOnResponse">
- <complexType>
- <sequence>
  <element name="Ticket" nillable="true" type="xsd:string" />
  </sequence>
  </complexType>
  </element>
  </schema>
  </wsdl:types>
- <wsdl:message name="LogOnResponse">
  <wsdl:part element="impl:LogOnResponse" name="LogOnResponse" />
  </wsdl:message>
- <wsdl:message name="LogOnRequest">
  <wsdl:part element="impl:LogOn" name="LogOn" />
  </wsdl:message>
- <wsdl:portType name="SmartConnectionPort">
- <wsdl:operation name="LogOn" parameterOrder="LogOn">
  <wsdl:input message="impl:LogOnRequest" name="LogOnRequest" />
  <wsdl:output message="impl:LogOnResponse" name="LogOnResponse" />
  </wsdl:operation>
  </wsdl:portType>
- <wsdl:binding name="SmartConnectionPortSoapBinding" type="impl:SmartConnectionPort">
  <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
- <wsdl:operation name="LogOn">
  <wsdlsoap:operation soapAction="urn:SmartConnection#smartserver#LogOn" />
- <wsdl:input name="LogOnRequest">
  <wsdlsoap:body use="literal" />
  </wsdl:input>
- <wsdl:output name="LogOnResponse">
  <wsdlsoap:body use="literal" />
  </wsdl:output>
  </wsdl:operation>
  </wsdl:binding>
- <wsdl:service name="SmartConnectionService">
- <wsdl:port binding="impl:SmartConnectionPortSoapBinding" name="SmartConnectionPort">
  <wsdlsoap:address location="http://torfelix:8080/axis/services/SmartConnectionPort" />
  </wsdl:port>
  </wsdl:service>
  </wsdl:definitions>
 
This is the soap request 
 
<?xml version="1.0" encoding="UTF-8" standalone="no" ?><SOAP-ENV:Envelope xmlns="urn:SmartConnection" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tns="urn:SmartConnection" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><SOAP-ENV:Body><tns:LogOn><User>xx</User><Password>xx</Password><Ticket></Ticket><Server>Server</Server><ClientName>TORFELIX</ClientName><Domain>TORFELIX</Domain><ClientAppName>InDesign CS</ClientAppName><ClientAppVersion>v3.3.1 build 353</ClientAppVersion><ClientAppSerial></ClientAppSerial></tns:LogOn></SOAP-ENV:Body></SOAP-ENV:Envelope>

The above request receives the following responce

<?xml version="1.0" encoding="UTF-8" standalone="no" ?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><soapenv:Fault><faultcode>soapenv:Server.userException</faultcode><faultstring>org.xml.sax.SAXException: Invalid element in SmartConnection.LogOn - User</faultstring><detail><ns1:hostname xmlns:ns1="http://xml.apache.org/axis/">torfelix</ns1:hostname></detail></soapenv:Fault></soapenv:Body></soapenv:Envelope>

 

Thanks for you help,
Felix

Anne Thomas Manes <[EMAIL PROTECTED]> wrote:
Can you post the WSDL?

On 4/15/05, Felix Kravets <[EMAIL PROTECTED]>wrote:
>
>
>
>
> Hi,
>
>
>
> I am using Axis 1.2 RC3. The client is a third-party that provided WSDL.
>
> I generated Java classes from this WSDL, and my test client is working fine
> with my Server.
>
> But call from the third-party client returns "Invalid element" fault.
>
> My test client sends the following in the SOAP
>
>
>
>
>
> some_user
>
> ......
>
> And it works fine
>
>
>
> Third-party client sends
>
>
>
>
>
> some_user
>
> ......
>
> This returns "Invalid element User" fault.
>
>
>
> Any suggestions would be greatly appreciated.
>
>
>
> Thanks
>
>
>
> ________________________________
> Do you Yahoo!?
> Yahoo! Small Business - Try our new resources site!
>
>


Do you Yahoo!?
Make Yahoo! your home page

Reply via email to