• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Not able to invoke webservice

 
VamsiKrishna Sribhashyam
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 215
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic