• Post Reply Bookmark Topic Watch Topic
  • New Topic

Error in Sending SOAP xml Message  RSS feed

 
Abhilash Jhariya
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I am new to this technology. I have made an application that is generating SOAP Message and sending it to a web Service on other machine. But I am getting an error og Message sending Failed.The Webservice is deployed on a machine on other Network and I cannot ping it.

SEVERE: SAAJ0008: Bad Response; /itawebservice/service1.asmx
Exception in connection:--->com.sun.xml.messaging.saaj.SOAPExceptionImpl: java.s
ecurity.PrivilegedActionException: com.sun.xml.messaging.saaj.SOAPExceptionImpl:
Bad response: (404/itawebservice/service1.asmx
 
David Brossard
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there,

The web service you're targeting seems to be a .NET web service (.asmx extension).

Before you try writing an app to talk to it, you need to know the WS's requirements - in particular when it come to securing it.

A simple first step you can do is actually generate a very thin java client to talk to this WS by relying on Axis wsdl2java. You should be able to retrieve the asmx's wsdl at http://path.to/the/service.asmx?wsdl (note the ?wsdl)

Based on this wsdl, you can generate a client stub with wsdl2java. Let me know how this goes!

David.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!