Hi,
I developed an WebService.
To manage this is use among others wscompile to generate the *.wsdl and mapping.xml.
When I deploy the service on my local JBoss, all works fine. 
But utilizing it remote, by calling the service from another machine I got an 
connectionException.
This I guess comes form the wrong address location of my service:

Fragment of my callable webservice-wsdl:

  | ...
  |   <service name="MyService">
  |        <port binding="tns:ServiceEndpointBinding" name="ServiceEndpointPort">
  |           <soap:address location="http://localhost:8080/service/dosth"; /> 
  |       </port>
  |     </service>
  |   </definitions>
  | 

in the deploy wsdl-file only stands :

  | <service name="MyService">
  |     <port name="ServiceEndpointBinding" binding="tns:ServiceEndpointPort">
  |       <soap:address 
location="REPLACE_WITH_ACTUAL_URL"/></port></service></definitions>
  | 
which is replace by localhost.

I tried:
a) changing directly this REPLACE_WITH_ACTUAL_URL by e.g. http://myserver:8080/....
b) by using the argument of wscompile wscompile.... -httpproxy:myserver:8080

but nothing worked.

How can I arrange it that my webservice it callable/usealbe not form localhost??? (why 
doesn't "b)" work?)

Thanks in advance.

     ADICKO

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853878#3853878

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3853878


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to