Hi Daniel,
thanks for your mail.
I have used tcpmon of AXIS to monitor the SOAP message.
The Request is:
----------------------------
<?xml version="1.0" encoding="UTF-8"?><soap-env:Envelope
xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soap-env:Body
xmlns:jns0='http://www.hlrs.de/organization/vis/covise'
><jns0:addEventListener></jns0:addEventListener></soap-env:Body></soap-env:Envelope>
-----------------------------
The response is:
-----------------------------
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:covise="http://www.hlrs.de/organization/vis/covise"><SOAP-ENV:Body><covise:addEventListenerResponse><uuid>{5b8bfc33-a65b-48d0-9d9b-b728d0634e8d}</uuid></covise:addEventListenerResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>
------------------------------
Do you mean the difference between the namespace xmlns:jns0 in the
request and xmlns:covise in the response? how can I fix it?
best regards,
Aihong Yin.
On 10/30/2012 04:06 PM, Daniel Kulp wrote:
On Oct 30, 2012, at 7:51 AM, Aihong Yin <[email protected]> wrote:
Hi all,
I would like to know how to write a JavaScript client using apache cxf to call
web service developed using gsoap (C++). Any sample code/links/pointers would
be helpful.
I am using wsdl2js to generate the JavaScript file, but the callback function
is not invoked.
Can you use wireshark or similar to capture the on-the-wire soap messages?
This is usually due to some sort of namespace mixup.