I'll run some tests with newer versions of Xerces like this, as well as
crimson.  For now, however, I would recommend you try another version of
Xerces, such as 1.4.4, so that you can continue your work.

Scott Nichol

----- Original Message -----
From: "Asher Foa" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, August 28, 2002 10:32 AM
Subject: RE: Default mappings for Apache SOAP Server


Hi!

I am uses xerces 2.0.2 (latest), should I use a different version ?

Further more I tried to deploy the sample located in
soap-2_3_1\samples\interop\DeploymentDescriptor.xml and it fails, and this
sample comes *with* Apache...


Regards,
      Asher Foa
      Software Developer
      Optibase Ltd.

-----Original Message-----
From: Scott Nichol [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 27, 2002 20:45
To: [EMAIL PROTECTED]
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" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to