• Post Reply Bookmark Topic Watch Topic
  • New Topic

Soap Error

 
Pheta Moloi
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am trying to create a soap messege and try to invoke saveChanges() in Weblogic 7.0 environment. It is throwing
java.lang.Error: NYI at weblogic.webservice.core.soap.SOAPMessageImpl.saveRequired(SOAPMessageImpl.java:360)
since the method is not implemented in weblogic. Can any one tell me how do is get around this problem.... Basically I want to call saveChanges().
Thank You
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So you want to call a method in a WebLogic-specific class that isn't implemented? Sounds like your only options are to either 1) implement the functionality yourself, or 2) upgrade to 8.1 (note: I have no idea whether the method in question is implemented there either).
 
Pheta Moloi
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What I'm trying to do is to dump a message into a soap envelop then send that to a servlet that will sent to Weblogic sebservice somewhere else.
So what I do is create saop message and then use code below to send it to the servlet. Then it throws that error.
URLEndpoint endpoint = new URLEndpoint("http://hostname ort/servlet/HelloWorldExample");
SOAPMessage response = con.call(message, endpoint);
 
Balaji Loganathan
author and deputy
Bartender
Posts: 3150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Pheta Moloi:
What I'm trying to do is to dump a message into a soap envelop then send that to a servlet that will sent to Weblogic sebservice somewhere else.

For this case why don't you use tools like WSDL2Java to create client stubs for the weblogic webservice and use them in your servlet to submit the soap message ??
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
See this message at TSS which refers to this BEA support ticket. I still believe you need to use a completely different library for sending the SOAP request (Apache Axis, perhaps?).
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!