You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by axelspin <sp...@knmi.nl> on 2007/07/04 12:50:24 UTC
Re: Custom WSDL port locations not honored
Yes I got the same
a workaround could be changing the namespace in this way
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap12/"
xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
it works.. sounds a bit quick and dirty as well..but in the mean time, I
think I`ll use it..
Boemker, Tim wrote:
>
> I have deployed an AAR with WSDL like this:
>
> <wsdl:service name="FoobarService">
> <wsdl:port name="FoobarServiceSOAP11port_http"
> binding="axis2:FoobarServiceSOAP11Binding">
> <soap:address
> location="http://foobar.com/FoobarService"/>
> </wsdl:port>
> <wsdl:port name="FoobarServiceSOAP12port_http"
> binding="axis2:FoobarServiceSOAP12Binding">
> <soap12:address
> location="http://foobar.com/FoobarService"/>
> </wsdl:port>
> <wsdl:port name="FoobarServiceHttpport1"
> binding="axis2:FoobarServiceHttpBinding">
> <http:address
> location="http://foobar.com/FoobarService"/>
> </wsdl:port>
> </wsdl:service>
>
> When I query Axis2 for the wsdl, it returns WSDL like this:
>
> <wsdl:service name="FoobarService">
> <wsdl:port name="FoobarServiceSOAP12port_http"
> binding="axis2:FoobarServiceSOAP12Binding">
> <soap12:address
> location="http://foobar.com/FoobarService"/>
> </wsdl:port>
> <wsdl:port name="FoobarServiceHttpport1"
> binding="axis2:FoobarServiceHttpBinding">
> <http:address
> location="http://foobar.com/FoobarService"/>
> </wsdl:port>
> <wsdl:port name="FoobarServiceSOAP11port_http"
> binding="axis2:FoobarServiceSOAP11Binding">
> <soap:address
> location="http://199.16.40.1:80/axis2/services/FoobarService"/>
> </wsdl:port>
> </wsdl:service>
>
> Why does it change the location for the SOAP 1.1 port?
>
> Thanks,
>
> Tim
>
>
>
--
View this message in context: http://www.nabble.com/Custom-WSDL-port-locations-not-honored-tf2948145.html#a11428808
Sent from the Axis - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: Custom WSDL port locations not honored
Posted by axelspin <sp...@knmi.nl>.
No it doesn`t
Axis2 changes on his own the prefix from soap to soap12.
That is consistent ok.. but I wan to use my endpoint!!
What about a scenario where the aplication server is proxyed?
As work around, should I provide my wsdl to the users from the webserver?
axelspin wrote:
>
> Yes I got the same
>
> a workaround could be changing the namespace in this way
>
>
> xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap12/"
> xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
>
> it works.. sounds a bit quick and dirty as well..but in the mean time, I
> think I`ll use it..
>
>
>
>
>
> Boemker, Tim wrote:
>>
>> I have deployed an AAR with WSDL like this:
>>
>> <wsdl:service name="FoobarService">
>> <wsdl:port name="FoobarServiceSOAP11port_http"
>> binding="axis2:FoobarServiceSOAP11Binding">
>> <soap:address
>> location="http://foobar.com/FoobarService"/>
>> </wsdl:port>
>> <wsdl:port name="FoobarServiceSOAP12port_http"
>> binding="axis2:FoobarServiceSOAP12Binding">
>> <soap12:address
>> location="http://foobar.com/FoobarService"/>
>> </wsdl:port>
>> <wsdl:port name="FoobarServiceHttpport1"
>> binding="axis2:FoobarServiceHttpBinding">
>> <http:address
>> location="http://foobar.com/FoobarService"/>
>> </wsdl:port>
>> </wsdl:service>
>>
>> When I query Axis2 for the wsdl, it returns WSDL like this:
>>
>> <wsdl:service name="FoobarService">
>> <wsdl:port name="FoobarServiceSOAP12port_http"
>> binding="axis2:FoobarServiceSOAP12Binding">
>> <soap12:address
>> location="http://foobar.com/FoobarService"/>
>> </wsdl:port>
>> <wsdl:port name="FoobarServiceHttpport1"
>> binding="axis2:FoobarServiceHttpBinding">
>> <http:address
>> location="http://foobar.com/FoobarService"/>
>> </wsdl:port>
>> <wsdl:port name="FoobarServiceSOAP11port_http"
>> binding="axis2:FoobarServiceSOAP11Binding">
>> <soap:address
>> location="http://199.16.40.1:80/axis2/services/FoobarService"/>
>> </wsdl:port>
>> </wsdl:service>
>>
>> Why does it change the location for the SOAP 1.1 port?
>>
>> Thanks,
>>
>> Tim
>>
>>
>>
>
>
--
View this message in context: http://www.nabble.com/Custom-WSDL-port-locations-not-honored-tf2948145.html#a11445326
Sent from the Axis - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org