• Post Reply Bookmark Topic Watch Topic
  • New Topic

SOAP endpoints in Weblogic

 
Tim Bee
Ranch Hand
Posts: 91
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I thought the URL were the same as the address in the WSDL file. When I check in the console of Weblogic, it gives an entirely different context path, which seems to work.

Where do I get the correct context path from? Is it from the WSDL file or do I have to look in the Weblogic console?


<wsdl:service name="TradeServicePorts">
<wsdl:port binding="TradeServiceHTTPBinding" name="TradeService">
<wsdlsoap:address
location="http://localhost:9084/tradeService/TradeServicePorts" />

</wsdl:port>
</wsdl:service>

What the console says the context path is is http://192.168.7.191:7001/ws-example-0.1
 
Tapas Chand
Ranch Hand
Posts: 601
9
BSD Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you talking about context path of your web application?
If so, it is different from the soap:adress.
soap:adress is the endpoint of the web service to which the web service client will connect to consume it.
context path is the root of the deployed web application.
 
Tim Bee
Ranch Hand
Posts: 91
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tapas Chand wrote:Are you talking about context path of your web application?
If so, it is different from the soap:adress.
soap:adress is the endpoint of the web service to which the web service client will connect to consume it.
context path is the root of the deployed web application.


OK, I'm not sure what that means.
When I want to test it using SoapUI, I use the context path.
Under what conditions would I use the soap address?
 
Tapas Chand
Ranch Hand
Posts: 601
9
BSD Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tim Bee wrote:When I want to test it using SoapUI, I use the context path.
Under what conditions would I use the soap address?

When you create a SOAP project in SoapUI, it asks for a WSDL URL not context path.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!