Loading ...
Sorry, an error occurred while loading the content.

problem with non inline multiref?

Expand Messages
  • msanesh <anesh@hotmail.com>
    Hi, I have an apache axis server and a soaplite client and I want to pass complex types back and forth. My client can send the complex types fine, but can not
    Message 1 of 1 , Dec 22, 2002
    • 0 Attachment
      Hi,

      I have an apache axis server and a soaplite client and I want to
      pass complex types back and forth. My client can send the complex
      types fine, but can not receive them. I get an error as shown below.
      There seems to be a problem with non inline multirefs. Is this a
      known problem? Also, the packets on the wire are included in the
      message. Please let me know you need my perl code.

      This works fine with an apache axis based client.

      Thanks,
      Anesh.

      -------------------------------------

      Unresolved (wrong?) href (id0) in element 'TestAPIReturn'
      <?xml version="1.0" encoding="UTF-8"?>
      <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>
      <ns1:TestAPIResponse
      soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
      xmlns:ns1="http://web1.corp.kontiki.com:8300/bizserv/Connector.jws">
      <TestAPIReturn href="#id0"/>
      </ns1:TestAPIResponse>
      <multiRef id="id0" soapenc:root="0"
      soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
      xsi:type="ns2:Format"
      xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
      xmlns:ns2="http://soap.kontiki.com">
      <allowedPlays xsi:type="xsd:int">0</allowedPlays>
      <allowsaveStream xsi:type="xsd:boolean">false</allowsaveStream>
      <bitRate xsi:type="xsd:int">0</bitRate>
      <codec xsi:type="xsd:string" xsi:nil="true"/>
      <createDate xsi:type="xsd:dateTime" xsi:nil="true"/>
      <deliveryPolicy xsi:type="xsd:string" xsi:nil="true"/>
      <encodingInfo xsi:type="xsd:string" xsi:nil="true"/>
      <extra xsi:type="soapenc:Array" xsi:nil="true"/>
      <filename xsi:type="xsd:string">foor.mov</filename>
      <height xsi:type="xsd:int">0</height>
      <kid xsi:type="xsd:string">urn:kontiki:eng:webapps</kid>
      <lastModDate xsi:type="xsd:dateTime" xsi:nil="true"/>
      <obscureFile xsi:type="xsd:boolean">false</obscureFile>
      <originSetName xsi:type="soapenc:Array" xsi:nil="true"/>
      <type xsi:type="xsd:string">Format</type>
      <width xsi:type="xsd:int">0</width>
      </multiRef>
      </soapenv:Body>
      </soapenv:Envelope> at /usr/lib/perl5/site_perl/5.6.1/SOAP/MIME.pm
      line 158
      ------------------------------------


      Here is the data on the wire.
      ------------------
      POST /bizserv/Connector.jws HTTP/1.0

      Accept: text/xml

      Accept: multipart/*

      Host: web1.corp.kontiki.com:8300

      User-Agent: SOAP::Lite/Perl/0.55

      Content-Length: 747

      Content-Type: text/xml; charset=utf-8

      SOAPAction: ""



      <?xml version="1.0" encoding="UTF-8"?>
      <SOAP-ENV:Envelope xmlns:namesp2="http://soap.kontiki.com" SOAP-
      ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
      xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:SOAP-
      ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-
      ENV="http://schemas.xmlsoap.org/soap/envelope/"
      xmlns:xsd="http://www.w3.org/1999/XMLSchema"
      >
      <SOAP-ENV:Body
      >
      <namesp1:TestAPI
      xmlns:namesp1="http://web1.corp.kontiki.com:8300/bizserv/Connector.jws
      "
      >
      <f xsi:type="namesp2:Format"
      >
      <kid xsi:type="xsd:string"
      >urn:kontiki:eng:webapps</kid>
      <filename xsi:type="xsd:string"
      >foor.mov</filename></f></namesp1:TestAPI></SOAP-
      ENV:Body></SOAP-ENV:Envelope>HTTP/1.1 200 OK

      Content-Type: text/xml; charset=utf-8

      Connection: close

      Date: Mon, 23 Dec 2002 01:17:48 GMT

      Server: Apache Tomcat/4.0.4 (HTTP/1.1 Connector)

      Set-Cookie: JSESSIONID=773C1D7BE341D14B9E2277112592A897;Path=/bizserv



      <?xml version="1.0" encoding="UTF-8"?>
      <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>
      <ns1:TestAPIResponse
      soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
      xmlns:ns1="http://web1.corp.kontiki.com:8300/bizserv/Connector.jws">
      <TestAPIReturn href="#id0"/>
      </ns1:TestAPIResponse>
      <multiRef id="id0" soapenc:root="0"
      soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
      xsi:type="ns2:Format"
      xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
      xmlns:ns2="http://soap.kontiki.com">
      <allowedPlays xsi:type="xsd:int">0</allowedPlays>
      <allowsaveStream xsi:type="xsd:boolean">false</allowsaveStream>
      <bitRate xsi:type="xsd:int">0</bitRate>
      <codec xsi:type="xsd:string" xsi:nil="true"/>
      <createDate xsi:type="xsd:dateTime" xsi:nil="true"/>
      <deliveryPolicy xsi:type="xsd:string" xsi:nil="true"/>
      <encodingInfo xsi:type="xsd:string" xsi:nil="true"/>
      <extra xsi:type="soapenc:Array" xsi:nil="true"/>
      <filename xsi:type="xsd:string">foor.mov</filename>
      <height xsi:type="xsd:int">0</height>
      <kid xsi:type="xsd:string">urn:kontiki:eng:webapps</kid>
      <lastModDate xsi:type="xsd:dateTime" xsi:nil="true"/>
      <obscureFile xsi:type="xsd:boolean">false</obscureFile>
      <originSetName xsi:type="soapenc:Array" xsi:nil="true"/>
      <type xsi:type="xsd:string">Format</type>
      <width xsi:type="xsd:int">0</width>
      </multiRef>
      </soapenv:Body>
      </soapenv:Envelope>
    Your message has been successfully submitted and would be delivered to recipients shortly.