Hello guys

I've got yet another issue with servicemix handling of
web services, WSDL and soap messages.

Here is my config :
C#:Stub -> BUS:HTTP Consumer->BUS:HTTP
Provider->JBOSS:Web service

Using the c# stub, The following query is sent to the
bus :
------
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:ws="http://ws.location.services.cardinal.com/";>
   <soapenv:Body>
<listAllProvider
xmlns="http://ws.location.services.cardinal.com/";
 
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";
  xmlns:xsd="http://www.w3.org/2001/XMLSchema";
 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
<clientSessionGuid
xmlns="">RkZGRiAgICAgICAgICAgIA==</clientSessionGuid>
</listAllProvider>
   </soapenv:Body>
</soapenv:Envelope>
------
Notice the definition of an empty name space for the
clientSessionGuid attribute.  However when the message
is parsed by the bus the empty namespace attribute is
lost before being sent to the HTTP provider :
-------
<?xml version='1.0' encoding='utf-8'?>
<env:Envelope
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/";>
<env:Body>
<listAllProvider
xmlns="http://ws.location.services.cardinal.com/";
 xmlns:env="http://schemas.xmlsoap.org/soap/envelope/";

xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";

xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";
 xmlns:ws="http://ws.location.services.cardinal.com/";
 xmlns:xsd="http://www.w3.org/2001/XMLSchema";

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
<clientSessionGuid>RkZGRiAgICAgICAgICAgIA==</clientSessionGuid>
</listAllProvider>
</env:Body>
</env:Envelope> 
----
Because of this the call fails ?

I was wondering if we can look at a way to make the
BUS WS-i compliant for web services
(http://www.ws-i.org).  this would be a great addon
for the bus. 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Reply via email to