Hi,

i have a problem, and I can't solve it, but I think the problem is in
my mind. (and I am new to ServiceMix)

I want to do the following:

I have a webservice which I want to proxy with ServiceMix, so I
thought:

I create a cxfbc provider:

<cxfbc:provider 
  wsdl="classpath:hummingbird.wsdl" 
 
locationURI="http://192.168.68.12/hummingbird%20webservice/hummingbirdwebservice.asmx";

  endpoint="HummingbirdWebserviceSoap" 
  service="hum:HummingbirdWebservice" 
  interfaceName="hum:HummingbirdWebserviceSoap"
  />
 
And I create an http consumer:

<http:endpoint 
   service="hum:HummingbirdService" 
   endpoint="soap-http-provider" 
   targetEndpoint="HummingbirdWebserviceSoap" 
   targetService="hum:HummingbirdWebservice" 
   targetInterfaceName="hum:HummingbirdWebserviceSoap" 
   role="consumer" 
   locationURI="http://192.168.31.44:8192/hummingbird/"; 
   defaultMep="http://www.w3.org/2004/08/wsdl/In-Out"; 
   soap="true" 
   soapVersion="1.1" 
   /> 


But the following happens:

1) I open the WSDL in XMLSpy at
http://192.168.31.44:8192/hummingbird/main.wsdl 
2) I create the SOAP-Message
3) I send the SOAP-Message
4) the SM server receives the XML message
5) the SM sends an empty SOAP-Message to:
http://192.168.68.12/hummingbird%20webservice/hummingbirdwebservice.asmx
6) I get an error from the SOAP-server ( SOAP error shown in Ethereal
)

there is een error in the SM console:

Message wrapper element is '{http://tempuri.org/}GetDocsByDossierNr'
but expected '{http://java.sun.com/xml/ns/jbi/wsdl-11-wrapper}message'




Met vriendelijke groet,

Martin Mulder
Gemeente Groningen
DIA / CIO (Centrale ICT Organisatie)
[EMAIL PROTECTED]

Reply via email to