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

Re: VB w/ custom type serialization on apache SOAP

Expand Messages
  • Wulf Sanoja
    Also, try this article. explains the xsi:type problem between high level microsoft client and apache server
    Message 1 of 3 , Sep 24 2:37 PM
    • 0 Attachment
      Also, try this article. explains the xsi:type problem between high
      level microsoft client and apache server
      http://www-106.ibm.com/developerworks/webservices/library/ws-ref3/

      wulf

      --- In soapbuilders@y..., "Mike Deem" <mikedeem@m...> wrote:
      > Please take a look at the following resources, they may answer your
      > questions.
      >
      > http://xml.apache.org/soap/docs/guide/interop.html
      > http://www-106.ibm.com/developerworks/library/ws-ref3/?n-ws-5241
      > http://www.perfectxml.com/articles/xml/soapguide.asp
      >
      > Thanks,
      >
      > == Mike ==
      >
      > -----Original Message-----
      > From: matrixweaver@y... [mailto:matrixweaver@y...]
      > Sent: Monday, August 13, 2001 5:02 PM
      > To: soapbuilders@y...
      > Subject: [soapbuilders] VB w/ custom type serialization on apache
      SOAP
      >
      > Hi,
      >
      > I am trying to get the MS high level API to work w/ the apache
      > addressbook2 sample. The call "SC.getAddressFromName("John B.
      Good")"
      > is causing this:
      >
      > "No Deserializer found to deserialize a ':name' using encoding
      > style 'http://schemas.xmlsoap.org/soap/encoding/
      >
      > Did I specified the binding correctly in WSDL file? Seems
      > like ":name", which is the argument being passed in, has some
      > problem.
      >
      > *****************************************************************
      > * VB CODE
      > *****************************************************************
      > Private Sub Command1_Click()
      > Dim SC
      > Set SC = CreateObject("MSSOAP.SoapClient")
      > Call SC.mssoapinit("i:\soap-2_2\samples\addressbook2
      > \AddressBook.wsdl", "", "")
      > SC.getAddressFromName("John B. Good")
      > End Sub
      >
      >
      *********************************************************************
      > * WSDL:
      >
      *********************************************************************
      > <?xml version="1.0" ?>
      >
      > <definitions name="urn:AddressFetcher2"
      > targetNamespace="urn:AddressFetcher2"
      > xmlns:typens="urn:xml-soap-address-demo"
      > xmlns:xsd="http://www.w3.org/1999/XMLSchema"
      > xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
      > xmlns="http://schemas.xmlsoap.org/wsdl/">
      >
      > <!-- type defs -->
      > <types>
      > <xsd:schema targetNamespace="urn:xml-soap-address-demo"
      > xmlns:xsd="http://www.w3.org/1999/XMLSchema">
      > <xsd:complexType name="phone">
      > <xsd:element name="areaCode" type="xsd:int"/>
      > <xsd:element name="exchange" type="xsd:string"/>
      > <xsd:element name="number" type="xsd:string"/>
      > </xsd:complexType>
      >
      > <xsd:complexType name="address">
      > <xsd:element name="streetNum" type="xsd:int"/>
      > <xsd:element name="streetName" type="xsd:string"/>
      > <xsd:element name="city" type="xsd:string"/>
      > <xsd:element name="state" type="xsd:string"/>
      > <xsd:element name="zip" type="xsd:int"/>
      > <xsd:element name="phoneNumber" type="typens:phone"/>
      > </xsd:complexType>
      > </xsd:schema>
      > </types>
      >
      > <!-- message declns -->
      > <message name="AddEntryRequest">
      > <part name="name" type="xsd:string"/>
      > <part name="address" type="typens:address"/>
      > </message>
      >
      > <message name="GetAddressFromNameRequest">
      > <part name="name" type="xsd:string"/>
      > </message>
      >
      > <message name="GetAddressFromNameResponse">
      > <part name="address" type="typens:address"/>
      > </message>
      >
      > <!-- port type declns -->
      > <portType name="AddressBook">
      > <operation name="addEntry">
      > <input message="AddEntryRequest"/>
      > </operation>
      > <operation name="getAddressFromName">
      > <input message="GetAddressFromNameRequest"/>
      > <output message="GetAddressFromNameResponse"/>
      > </operation>
      > </portType>
      >
      > <!-- binding declns -->
      > <binding name="AddressBookSOAPBinding" type="AddressBook">
      > <soap:binding style="rpc"
      > transport="http://schemas.xmlsoap.org/soap/http"/>
      > <operation name="addEntry">
      > <soap:operation soapAction=""/>
      > <input>
      > <soap:body use="encoded"
      > namespace="urn:AddressFetcher2"
      >
      > encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
      > </input>
      > </operation>
      > <operation name="getAddressFromName">
      > <soap:operation soapAction=""/>
      > <input>
      > <soap:body use="encoded"
      > namespace="urn:AddressFetcher2"
      >
      > encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
      > </input>
      > <output>
      > <soap:body use="encoded"
      > namespace="urn:AddressFetcher2"
      >
      > encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
      > </output>
      > </operation>
      > </binding>
      >
      > <!-- service decln -->
      > <service name="AddressBookService">
      > <port name="AddressBook" binding="AddressBookSOAPBinding">
      > <soap:address location="http://akpoon-
      > pc5:9999/soap/servlet/rpcrouter"/>
      > </port>
      > </service>
      >
      > </definitions>
      >
      > *******
      >
      > Many thanks
      >
      > Arnold
      >
      >
      >
      > -----------------------------------------------------------------
      > This group is a forum for builders of SOAP implementations to
      discuss
      > implementation and interoperability issues. Please stay on-topic.
      >
      > To unsubscribe from this group, send an email to:
      > soapbuilders-unsubscribe@y...
      >
      >
      >
      > Your use of Yahoo! Groups is subject to
      > http://docs.yahoo.com/info/terms/
    Your message has been successfully submitted and would be delivered to recipients shortly.