Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

client soap request code for weblogic

 
Lavanya Halliwell
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 147
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic