Hi im trying to expose a simple string-in string-out SLSB to .NET/Delphi 
clients. It uses doc/literal encoding and imported successfully in both 
VS.NET/Delphi IDE. However, I have encountered the following error when 
executing, which when i tried to find on Google, suggests that there is 
something wrong for the client to deserialize the data:

16:59:16,915 ERROR [ServerEngine] Server error: AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Client
 faultSubcode:
 faultString: Invalid element in 
com.techson.techlink.clientconnectivity.interfaces.TechLinkConnectionSEI_execute_RequestStruct
 - String_1
 faultActor:
 faultNode:
 faultDetail:
        {http://xml.apache.org/axis/}stackTrace: org.xml.sax.SAXException: 
Invalid element in 
com.techson.techlink.clientconnectivity.interfaces.TechLinkConnectionSEI_execute_RequestStruct
 - String_1

The WSDL I use is as follows:

  | <?xml version="1.0" encoding="utf-8"?>
  | <definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"; 
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"; 
xmlns:s="http://www.w3.org/2001/XMLSchema"; 
xmlns:s0="http://interfaces.clientconnectivity.techlink.techson.com/types"; 
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"; 
xmlns:tns="http://interfaces.clientconnectivity.techlink.techson.com"; 
xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/"; 
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"; 
targetNamespace="http://interfaces.clientconnectivity.techlink.techson.com"; 
name="TechLinkConnection" xmlns="http://schemas.xmlsoap.org/wsdl/";>
  |   <types>
  |     <s:schema xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; 
xmlns:tns="http://interfaces.clientconnectivity.techlink.techson.com/types"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xmlns="http://www.w3.org/2001/XMLSchema"; 
xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/"; 
targetNamespace="http://interfaces.clientconnectivity.techlink.techson.com/types";>
  |       <s:complexType name="execute">
  |         <s:sequence>
  |           <s:element name="String_1" nillable="true" type="s:string" />
  |         </s:sequence>
  |       </s:complexType>
  |       <s:complexType name="executeResponse">
  |         <s:sequence>
  |           <s:element name="result" nillable="true" type="s:string" />
  |         </s:sequence>
  |       </s:complexType>
  |       <s:element name="execute" type="tns:execute" />
  |       <s:element name="executeResponse" type="tns:executeResponse" />
  |     </s:schema>
  |   </types>
  |   <message name="TechLinkConnectionSEI_execute">
  |     <part name="parameters" element="s0:execute" />
  |   </message>
  |   <message name="TechLinkConnectionSEI_executeResponse">
  |     <part name="result" element="s0:executeResponse" />
  |   </message>
  |   <portType name="TechLinkConnectionSEI">
  |     <operation name="execute">
  |       <input message="tns:TechLinkConnectionSEI_execute" />
  |       <output message="tns:TechLinkConnectionSEI_executeResponse" />
  |     </operation>
  |   </portType>
  |   <binding name="TechLinkConnectionSEIBinding" 
type="tns:TechLinkConnectionSEI">
  |     <soap:binding transport="http://schemas.xmlsoap.org/soap/http"; 
style="document" />
  |     <operation name="execute">
  |       <soap:operation soapAction="" />
  |       <input>
  |         <soap:body use="literal" />
  |       </input>
  |       <output>
  |         <soap:body use="literal" />
  |       </output>
  |     </operation>
  |   </binding>
  |   <service name="TechLinkConnection">
  |     <port name="TechLinkConnectionSEIPort" 
binding="tns:TechLinkConnectionSEIBinding">
  |       <soap:address 
location="http://192.168.108.18:8080/TechlinkConnectionEJB/TechLinkConnectionPort";
 />
  |     </port>
  |   </service>
  | </definitions>
  | 
Can anyone please kindly point out the possible cause?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3870512#3870512

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3870512


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to