ws-soap-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Johnson, Michael1 [IT]" <michael1.john...@citigroup.com>
Subject RE: Default mappings for Apache SOAP Server
Date Tue, 27 Aug 2002 18:52:05 GMT
For interoperability MS developers should always use the low level api. This
does require the developer to do a bit more work though. 

-MJ

-----Original Message-----
From: Scott Nichol [mailto:snicholnews@scottnichol.com]
Sent: Tuesday, August 27, 2002 2:45 PM
To: soap-dev@xml.apache.org
Subject: Re: Default mappings for Apache SOAP Server


You are correct about the typographical errors in the deployment descriptor.

I am able to view similar XML in IE 5.5 SP1.  Specifically, the file is:

<isd:service xmlns:isd="http://xml.apache.org/xml-soap/deployment"
             id="urn:xmltoday-delayed-quotes">
  <isd:provider type="java"
                scope="Application"
                methods="getQuote">
    <isd:java class="samples.stockquote.StockQuoteService"/>
  </isd:provider>

<isd:faultListener>org.apache.soap.server.DOMFaultListener</isd:faultListene
r>
  <isd:mappings>
    <isd:map encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
     xmlns:x="" qname="x:arg0"

xml2JavaClassName="org.apache.soap.encoding.soapenc.StringDeserializer"/>
  </isd:mappings>
</isd:service>

I am also able to deploy with this deployment descriptor.  What versions of
IE and Xerces are you using?  Perhaps mine are just more forgiving.

Finally, let me point out that you don't have to use the Apache SOAP
workaround if you use the low-level API from the MS STK.  See
http://www.scottnichol.com/vbclientapachesoap.htm for an example.

Scott Nichol

----- Original Message -----
From: "Asher Foa" <asherf@optibase.com>
To: <soap-dev@xml.apache.org>
Sent: Tuesday, August 27, 2002 1:44 PM
Subject: Default mappings for Apache SOAP Server


Hello All,
I am having problems calling an Apache based SOAP server from an MS Soap
Toolkit (v2.0) client.

  I read your article in the Apache SOAP (v2.3.1) toolkit, and I have a
couple of questions that
 The problem that you describe is your article under SOAP Problems/Depending
on xsi:type.
Adding type mapping to the service's deployment descriptor, regarding this
there are two issues:
1. In the request snippet the arguments are named arg1 and x:arg2, but in
the deployment descriptor the qname is for arg and x:arg, it looks like a
type-o....
2. When I add a mapping element to the deployment descriptor with the
xmlns:z="" attribute it's not a valid XML, I try to open this XML with
Internet Explorer for example and it displays the following error:
Only a default namespace can have an empty URI. Error processing resource

Further more when trying to deploy the service using that deployment
descriptor, I get an exception:
[Fatal Error] :16:83: The value of the attribute "xmlns:z" is invalid.
Prefixed namespace bindings may not be empty.
Exception in thread "main" org.xml.sax.SAXParseException: The value of the
attribute "xmlns:zx" is invalid. Prefixed namespace bindings may not be
empty.
        at org.apache.xerces.parsers.DOMParser.parse(DOMParser.java:267)
        at
org.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:20
1)
        at
org.apache.soap.server.ServiceManagerClient.main(ServiceManagerClient.java:2
29)



Regards,
      Asher Foa
      Software Developer
      Optibase Ltd.





--
To unsubscribe, e-mail:   <mailto:soap-dev-unsubscribe@xml.apache.org>
For additional commands, e-mail: <mailto:soap-dev-help@xml.apache.org>




--
To unsubscribe, e-mail:   <mailto:soap-dev-unsubscribe@xml.apache.org>
For additional commands, e-mail: <mailto:soap-dev-help@xml.apache.org>

Mime
View raw message