aspose file tools*
The moose likes Web Services and the fly likes Not able to invoke webservice Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Not able to invoke webservice" Watch "Not able to invoke webservice" New topic
Author

Not able to invoke webservice

VamsiKrishna Sribhashyam
Greenhorn

Joined: May 01, 2010
Posts: 1
Hi,
I just deployed a webserice in weblogic 10.0 server. And I've written a client to invok it using SAAJ api. But I am facing the below error the moment I invoke. Can any one sugget me how to proceed further. Even I tried by putting some value in SOAPAction part of WSDL file. Still same issue I am facing.

<?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<soapenv:Fault>
<faultcode xmlns:ns1="http://xml.apache.org/axis/">ns1:Client.NoSOAPAction</faultcode>
<faultstring>no SOAPAction header!</faultstring>
<detail>
<ns2:hostname xmlns:ns2="http://xml.apache.org/axis/">VamsiKrishna-PC</ns2:hostname>
</detail>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>
R Srini
Ranch Hand

Joined: Feb 19, 2010
Posts: 215
Hi. See if this link (from this forum) is helpful to you: http://www.coderanch.com/t/479104/Web-Services/java/web-service-attachment-under-java

At the very end, there is also a link to a sample SAAJ client. If the above does not help, then please provide some more context.

Thank you.

Srini
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Not able to invoke webservice
 
Similar Threads
Axis problem
web service exception handling..
hi there..i hava a problem with the apache axis..
Error : Axis Engine Cudn't find the target
Server.userException: Exception while executing Client