Sorry, didn't include the WSDL and TCPMonitor Message Trace on the first
email.

- steve


=== TCPMon TRACE: ===

Listen Port: 8080
Target Host: localhost
Target Port: 100
==== Request ====
POST /axis/services/PapService HTTP/1.1 User-Agent: Mozilla/4.0 (compatible;
MSIE 6.0; MS Web Services Client Protocol 1.0.3705.209) Content-Type:
text/xml; charset=utf-8 SOAPAction: "" Content-Length: 613 Expect:
100-continue Connection: Keep-Alive Host: localhost  
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";   
               xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";

               xmlns:tns="http://localhost:8080/axis/services/PapService";

 
xmlns:types="http://localhost:8080/axis/services/PapService/encodedTypes"; 
               xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
               xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
<soap:Body soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";>
   <q1:queryStatus xmlns:q1="queryStatus"><in0 xsi:type="xsd:string">JOE JOE
THE WONDER BUNNY</in0></q1:queryStatus>
</soap:Body>
</soap:Envelope>

==== Response ====
HTTP/1.0 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: 1385 Set-Cookie: 14 Set-Cookie2: 14

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
 <SOAP-ENV:Body>
  <ns1:queryStatusResponse
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
xmlns:ns1="queryStatus">
   <queryStatusReturn href="#id0"/>
  </ns1:queryStatusResponse>
  <multiRef id="id0" SOAP-ENC:root="0"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
xsi:type="ns3:QueryResponse"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/";
xmlns:ns2="http://schemas.xmlsoap.org/soap/envelope/:encodingStyle";
xmlns:ns3="urn:PapService">
   <pushId xsi:type="xsd:string">JOE JOE THE WONDER BUNNY</pushId>
   <results xsi:type="SOAP-ENC:Array"
SOAP-ENC:arrayType="ns3:QueryResult[1]">
    <item href="#id1"/>
   </results>
  </multiRef>
  <multiRef id="id1" SOAP-ENC:root="0"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
xsi:type="ns4:QueryResult" xmlns:ns4="urn:PapService"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/";>
   <messageState xsi:type="xsd:string">PEACHY</messageState>
   <code xsi:type="xsd:int">200</code>
   <description xsi:type="xsd:string">Howdy boys</description>
   <eventTime xsi:nil="true"/>
   <addresses xsi:nil="true"/>
  </multiRef>
 </SOAP-ENV:Body>
</SOAP-ENV:Envelope>


=== WSDL ===
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="http://soap.pap.ppg.neomar.com";
xmlns="http://schemas.xmlsoap.org/wsdl/";
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/";
xmlns:impl="http://soap.pap.ppg.neomar.com-impl";
xmlns:intf="http://soap.pap.ppg.neomar.com";
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";
xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
 <types>
  <schema targetNamespace="http://soap.pap.ppg.neomar.com";
xmlns="http://www.w3.org/2001/XMLSchema";>
   <complexType name="SubmitHeader">
    <sequence>
     <element name="PushId" nillable="true" type="xsd:string"/>
     <element name="DeliverBefore" nillable="true" type="xsd:date"/>
     <element name="DeliverAfter" nillable="true" type="xsd:date"/>
     <element name="SourceRef" nillable="true" type="xsd:string"/>
     <element name="NotifyRequestedTo" nillable="true" type="xsd:string"/>
     <element name="Addresses" nillable="true"
type="intf:ArrayOf_SOAP-ENC_string"/>
    </sequence>
   </complexType>
   <complexType name="ArrayOf_SOAP-ENC_string">
    <complexContent>
     <restriction base="SOAP-ENC:Array">
      <attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="xsd:string[]"/>
     </restriction>
    </complexContent>
   </complexType>
   <element name="SubmitHeader" nillable="true" type="intf:SubmitHeader"/>
   <complexType name="SubmitResponse">
    <sequence>
     <element name="PushId" nillable="true" type="xsd:string"/>
     <element name="ResultCode" type="xsd:int"/>
     <element name="ResultDescription" nillable="true" type="xsd:string"/>
     <element name="SenderAddr" nillable="true" type="xsd:string"/>
     <element name="SenderName" nillable="true" type="xsd:string"/>
     <element name="ReplyTime" nillable="true" type="xsd:date"/>
    </sequence>
   </complexType>
   <element name="SubmitResponse" nillable="true"
type="intf:SubmitResponse"/>
   <element name="ArrayOf_SOAP-ENC_string" nillable="true"
type="intf:ArrayOf_SOAP-ENC_string"/>
   <complexType name="CancelResponse">
    <sequence>
     <element name="PushId" nillable="true" type="xsd:string"/>
     <element name="ResultCode" type="xsd:int"/>
     <element name="ResultDescription" nillable="true" type="xsd:string"/>
    </sequence>
   </complexType>
   <element name="CancelResponse" nillable="true"
type="intf:CancelResponse"/>
   <complexType name="QueryResponse">
    <sequence>
     <element name="PushId" nillable="true" type="xsd:string"/>
     <element name="Results" nillable="true"
type="intf:ArrayOfQueryResult"/>
    </sequence>
   </complexType>
   <complexType name="QueryResult">
    <sequence>
     <element name="Description" nillable="true" type="xsd:string"/>
     <element name="Addresses" nillable="true"
type="intf:ArrayOf_SOAP-ENC_string"/>
     <element name="Code" type="xsd:int"/>
     <element name="EventTime" nillable="true" type="xsd:date"/>
     <element name="MessageState" nillable="true" type="xsd:string"/>
    </sequence>
   </complexType>
   <complexType name="ArrayOfQueryResult">
    <complexContent>
     <restriction base="SOAP-ENC:Array">
      <attribute ref="SOAP-ENC:arrayType"
wsdl:arrayType="intf:QueryResult[]"/>
     </restriction>
    </complexContent>
   </complexType>
   <element name="QueryResponse" nillable="true" type="intf:QueryResponse"/>
  </schema>
 </types>

   <wsdl:message name="cancelMessageResponse">

      <wsdl:part name="return" type="intf:CancelResponse"/>

   </wsdl:message>

   <wsdl:message name="submitMessageRequest">

      <wsdl:part name="in0" type="intf:SubmitHeader"/>

      <wsdl:part name="in1" type="xsd:base64Binary"/>

   </wsdl:message>

   <wsdl:message name="submitMessageResponse">

      <wsdl:part name="return" type="intf:SubmitResponse"/>

   </wsdl:message>

   <wsdl:message name="queryStatusRequest">

      <wsdl:part name="in0" type="SOAP-ENC:string"/>

      <wsdl:part name="in1" type="intf:ArrayOf_SOAP-ENC_string"/>

   </wsdl:message>

   <wsdl:message name="queryStatusResponse">

      <wsdl:part name="return" type="intf:QueryResponse"/>

   </wsdl:message>

   <wsdl:message name="cancelMessageRequest">

      <wsdl:part name="in0" type="SOAP-ENC:string"/>

      <wsdl:part name="in1" type="intf:ArrayOf_SOAP-ENC_string"/>

   </wsdl:message>

   <wsdl:portType name="TestSoapImple">

      <wsdl:operation name="submitMessage" parameterOrder="in0 in1">

         <wsdl:input message="intf:submitMessageRequest"/>

         <wsdl:output message="intf:submitMessageResponse"/>

      </wsdl:operation>

      <wsdl:operation name="cancelMessage" parameterOrder="in0 in1">

         <wsdl:input message="intf:cancelMessageRequest"/>

         <wsdl:output message="intf:cancelMessageResponse"/>

      </wsdl:operation>

      <wsdl:operation name="queryStatus" parameterOrder="in0 in1">

         <wsdl:input message="intf:queryStatusRequest"/>

         <wsdl:output message="intf:queryStatusResponse"/>

      </wsdl:operation>

   </wsdl:portType>

   <wsdl:binding name="PapServiceSoapBinding" type="intf:TestSoapImple">

      <wsdlsoap:binding style="rpc"
transport="http://schemas.xmlsoap.org/soap/http"/>

      <wsdl:operation name="submitMessage">

         <wsdlsoap:operation soapAction=""/>

         <wsdl:input>

            <wsdlsoap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
namespace="submitMessage" use="encoded"/>

         </wsdl:input>

         <wsdl:output>

            <wsdlsoap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
namespace="http://soap.pap.ppg.neomar.com"; use="encoded"/>

         </wsdl:output>

      </wsdl:operation>

      <wsdl:operation name="cancelMessage">

         <wsdlsoap:operation soapAction=""/>

         <wsdl:input>

            <wsdlsoap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
namespace="cancelMessage" use="encoded"/>

         </wsdl:input>

         <wsdl:output>

            <wsdlsoap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
namespace="http://soap.pap.ppg.neomar.com"; use="encoded"/>

         </wsdl:output>

      </wsdl:operation>

      <wsdl:operation name="queryStatus">

         <wsdlsoap:operation soapAction=""/>

         <wsdl:input>

            <wsdlsoap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
namespace="queryStatus" use="encoded"/>

         </wsdl:input>

         <wsdl:output>

            <wsdlsoap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
namespace="http://soap.pap.ppg.neomar.com"; use="encoded"/>

         </wsdl:output>

      </wsdl:operation>

   </wsdl:binding>

   <wsdl:service name="TestSoapImpleService">

      <wsdl:port binding="intf:PapServiceSoapBinding" name="PapService">

         <wsdlsoap:address
location="http://localhost:8080/axis/services/PapService"/>

      </wsdl:port>

   </wsdl:service>

</wsdl:definitions>









> -----Original Message-----
> From: Steven Schreiber 
> Sent: Sunday, May 12, 2002 7:17 PM
> To: '[EMAIL PROTECTED]'
> Subject: .NET Client calling Axis service with Bean Datatype returned
> 
> 
> I've recently been working on getting a .NET (ASP.NET using 
> C#) client to call a stubbed out and deployed Axis service.  
> I've done testing with basic services that return simple 
> datatypes (such as a String) and all is well.  However, the 
> service I'm currently working on returns a complex object and 
> is deployed in axis using the BeanSerializer method.
> 
> Testing using a Java/Axis client works perfectly.  
> Unfortunately, when using this same method in .NET, a valid 
> reference to the object is returned but the values inside 
> that object are null.
> 
> I've used the TCPMonitor to see what's getting passed back 
> and forth, and it seems (to my newbie eyes) to be AOK.  I 
> noticed a posting earlier that seemed to have this same 
> issue, but the resolution was never detailed.  Is this a 
> known interoperability issue between the two toolkits?
> 
> 
> 
> THE TCPMonitor Message Trace:
> 

Reply via email to