• Post Reply Bookmark Topic Watch Topic
  • New Topic

invoke web service method from another web service

 
jim li
Ranch Hand
Posts: 180
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,
(i am using glassfish 3.1)
i have following problems:

i have 2 web service: A (i am the producer), B (i am consumer)

1. when i test web service B individually by invoking its remote method, everything works fine, and return the message as i expected.

2. when i test web service B from web service A, such as I used xmlspy to send soap message to web service A, then web service A calls web service B. at this moment, i got the following errors. "{http://microsoft.com/webservices/}interfaceWSSoap does not contain operation: getNameList"
the problem seems like the producer interface does not have such function called getNameList, but actually it does, i generated interface by using wsdl file.

please help

(used jaw-ws instead of javax-rpc)
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!