aspose file tools*
The moose likes BEA/Weblogic and the fly likes client soap request code for weblogic Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "client soap request code for weblogic" Watch "client soap request code for weblogic" New topic
Author

client soap request code for weblogic

Lavanya Halliwell
Ranch Hand

Joined: Apr 09, 2010
Posts: 57
I am developing a client soap request code, and was looking for tops on the use of the "setSoapVersion" method.

in 1 of my class files there are no issues finding the method. but in the rest I get compiler errors as it can't find the method?




other files use:




both have



and I think that is the key but am not sure as to the reason one class can and the others can't use this, and thoughts?
Ed Ward
Ranch Hand

Joined: Jan 30, 2006
Posts: 147
I believe you are correct. It is the SOAP version. I experienced this as well and as I recall it defaults to one version and certain methods or functionality in the API may not be available for that version. There are a couple of ways to change the default, I think you can even pass in a -d parameter to the JVM. I chose to specify the SOAP version programmatically when instantiating MessageFactory instances:



I think there may have even been a reported bug revolving around this, but I may be mistaken.

Lavanya Halliwell
Ranch Hand

Joined: Apr 09, 2010
Posts: 57
yes, I do believe that is the right trail to follow, I will have to attempt to force soap client to use 1 soap version.

but have to looking into it more.

thanks for the tip!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: client soap request code for weblogic