Moin moin,
can someone help me by following problem:
I have two Linux systems. On the first one is an apache-1.3x
installed as proxy to forward some requests to another computer with a
webservice installed.
My Webservice is a Java2WSDL implementation and runs under Tomcat
5.0.2.8 with Axis2-1.1. First i have tried to use my Webservice.aar on
only one computer (client/Server)
without a proxy - all fine. But if i use configuration described
above, my endpoint (soap:address and soap12:address) have wrong URLs.
Request from Client will try to connect to endpoint
"http://127.0.0.1/part/Webservice" but it should be
"http://anotherurl/anotherpart/Webservice". Is it possible to change this
URL
in generated WSDL ? And if it is possible can you explain how ?
I also tried to copy one generated WSDL file into META-INF folder
of my Webservice.aar file. Than i set "<parameter name="useOriginalwsdl">
true</parameter>" in service.xml.
But when i look at WSDL by entering page
"http://anotherurl/anotherpart/Webservice?wsdl", i receive:
<soap12:address
location="http://anotherurl/anotherpart/Webservice"/>
but
<soap:address location="http://127.0.0.1/par/Webservice"/>
Although in generated WSDL by my own are following lines:
<soap12:address
location="http://anotherurl/anotherpart/Webservice"/>
<soap:address
location="http://anotherurl/anotherpart/Webservice"/>
My "dream" would be, when it is possible to set - perhaps in
Axis2Context - one locationURI that will be used instead of other url's
for all parts in generated WSDL. Or is it already possible ?
Thanks for reading and with best regards,
Daniel Kuschow