my dog learned polymorphism*
The moose likes Web Services and the fly likes web services that invokes web services Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "web services that invokes web services" Watch "web services that invokes web services" New topic
Author

web services that invokes web services

Guadalupe Ortiz
Ranch Hand

Joined: Sep 12, 2003
Posts: 74
Did anybody developes a web service that invokes other web service with the tool jwsdp1.3??
thanks in advance
gobellot
Balaji Loganathan
author and deputy
Bartender

Joined: Jul 13, 2001
Posts: 3150
Originally posted by Guadalupe Ortiz:
Did anybody developes a web service that invokes other web service with the tool jwsdp1.3??
thanks in advance
gobellot

Well i don't my reply would help you, But I have done that using apache axis. It just another program call, shouldn't be much different in jwsdp.
whats your problem here ?


Spritle Software Blogs
Guadalupe Ortiz
Ranch Hand

Joined: Sep 12, 2003
Posts: 74
My problem is:
I�ve got a web service A developed and deployed
I�ve got my web service B that invokes A and it�s suposly well developed and deployed
And then I�ve got my client C that invokes B.
When I invoke C it return an error in the point it tries to invoke A, as it couldnt find it.
When I normally invoke a web service i develope a client, but in the case of B i havent developed a client to invoke A, I do the invocation from the service code. Is taht OK?
thank-you very much for yur answer
gobellot
Balaji Loganathan
author and deputy
Bartender

Joined: Jul 13, 2001
Posts: 3150
Can you post the error message!.
shankar vembu
Ranch Hand

Joined: May 10, 2001
Posts: 309
Originally posted by Guadalupe Ortiz:
My problem is:
When I normally invoke a web service i develope a client, but in the case of B i havent developed a client to invoke A, I do the invocation from the service code. Is taht OK?
thank-you very much for yur answer
gobellot

in you case, webservice B acts as a client to invoke webservice A. There is no problem with such kind of scenarios and I have also done this using apache axis.
Regards
Guadalupe Ortiz
Ranch Hand

Joined: Sep 12, 2003
Posts: 74
The error I`ve got is:
" [java] java.rmi.ServerException: JAXRPC.TIE.04: Internal Server Error (JAXRPC.TIE.01: caught exception while handling request: java.lang.NullPointerException)
[java] at com.sun.xml.rpc.client.StreamingSender._raiseFault(StreamingSender.java:372)
[java] at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:224)
[java] at hotelDstub.HotelDIF_Stub.searchHotelD(HotelDIF_Stub.java:67)
[java] at hotelDstub.HotelClient.main(Unknown Source)"
Where HotelDstub is the final client and HotelDIF_Stub is the serice "B", that is the service that is invoked from the client and that invokes other service(A)
SearcHotelD is the only opration of the service "B"
Any clue?
thanks in advance
gobellot
Guadalupe Ortiz
Ranch Hand

Joined: Sep 12, 2003
Posts: 74
I`VE GOT IT!!!
I dont know where it was the problem but it seems it was not in the "invocation between web services". Suddenly I decided to begin by the begining again and this time worked. I�m really sorry if i bother you with nonsenses and I`m really gratefull for your help
gobellot
shankar vembu
Ranch Hand

Joined: May 10, 2001
Posts: 309
Originally posted by Guadalupe Ortiz:
I`VE GOT IT!!!
I dont know where it was the problem but it seems it was not in the "invocation between web services". Suddenly I decided to begin by the begining again and this time worked. I�m really sorry if i bother you with nonsenses and I`m really gratefull for your help
gobellot

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: web services that invokes web services
 
Similar Threads
Using UDDI dynamically
XML Web Service response -- maximum size?
Authentication issue between WebService and Siteminder
doubt in web service composition
web service client type