aspose file tools*
The moose likes Web Services and the fly likes Can soap return a xml after I invoke it? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Can soap return a xml after I invoke it?" Watch "Can soap return a xml after I invoke it?" New topic
Author

Can soap return a xml after I invoke it?

Yashnoo lyo
Ranch Hand

Joined: Feb 17, 2003
Posts: 152
Hi everyone:
I want to invoke a soap method in my javascript application.I expect that I will get a xml document after I invoke the soap. The xml data is come from database or come from other.Can soap do this? Is there any example to learn?


When I face C# and Java I choose Java.
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
Yes, a SOAP request always gets a SOAP response. I don't know however whether it's possible to send SOAP requests from a web page using JavaScript.


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Yashnoo lyo
Ranch Hand

Joined: Feb 17, 2003
Posts: 152
Hi
Javascript can do this. You could see the http://msdn.microsoft.com/workshop/author/webservice/using.asp
It can use Jscript,VBScript invoke the webservice. It do this using xml and http protocol. Now I want to find a example invoking a soap method and return a xml document.But I can't find that . :roll:
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Can soap return a xml after I invoke it?
 
Similar Threads
"Need request soap xml from stub"
return type in web service
SOAP, XML, and JAVA
Questions about SOAP
How can we use JAXB to marshall the whole SOAP request/response ?