Michal Cermak

Greenhorn
+ Follow
since Dec 21, 2010
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Michal Cermak

Hi Ivan,
I will take your advice and write a handler transforming incoming responses.

Thank you for your help!!

Best regards,
Michal
13 years ago
Hi,
you are right, I have to develope the client only. So i don't have any possibility how to affect the web service itself. I have only its documentation TecDoc web service

Netbeans uses Metro 2.0 project (wsimport tool) for stub generating. So do you thing i have no chance with JAX-WS?

Regards
Michal
13 years ago
Hi Ivan,
thank you for your help and study materials.

I wrote a handler that logs outgoing/incoming messages to/from TecDoc. Now it's clear, that communication is all right. Outgoing SOAP messages are generated corectly (from stub request object) because after sending I get the SOAP response message. So the problem is realy the creating response object from SOAP message. I know it could be solved by writing my own
client stub code that would process incoming SOAP messages and create every response object "by hand", as you advised me. But first, I would like to try correct the stub (generated by Netbeans) using JAXB.

So if anyone have any idea, what could be wrong in the annotatinons, which are used in the getPegasusVersionInfo() and getPegasusVersionInfoResponse(), please write it
The source code with annotations is mentioned in my previous message.

Thanks and regards,
Michal
13 years ago
Thank you, it seems to be a good idea. But how can I get to response message? I haven't direct access to it, because
I call

so i work with objects, not directly with messages. Messages are generated from stub:

and here is the GetPegasusVersionInfoResponse class:

Regards,
Michal
13 years ago
Really anyone does not have any idea how to fix this problem?

Regards,
Michal
13 years ago
Hi Dan,
after reading that thread it seems to me that "soapAction" is not the issue.

But thank you!
Michal
13 years ago
Hi,
I have problem with web service client. I have generated stub (Netbeans 6.9) from WSDL: http://webservicepilot.tecdoc.net/pegasus-2-0/wsdl/TecdocToCatWL
and here is how i'm using it:


I don't know why, but returns me NULL, not VersionInfoResponse object;

Here is dump of communication:


So the communication with webservice seems to be Ok. But where is the problem??

Here is part of the mentioned WSLD:


Could be soapAction="" problem or is it anything completley different?

Thank you for any help!!
13 years ago