You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by jpuro <jp...@sterlingtesting.com> on 2006/09/19 19:14:44 UTC
Http managed attribute and jsr181 WSDLs
I am attempting to use the http managed attribute along with jsr181. When I
deploy my webapp the context path of the application is at
http://localhost:8080/jbpmpoc. However, when jsr181 generates the wsdl it
creates an incorrect soap address of just "http://localhost/jbi". It should
be using the base address as indicated above to generate the soap address.
The end result is that when I pass my jsr181's wsdl to a SOAP client it
isn't able to properly locate the actual service. Any thoughts on this?
...
<wsdl:service name="orderHttpService">
<wsdl:port binding="tns:orderHttpServiceBinding"
name="orderHttpService">
<wsdlsoap:address location="http://localhost/jbi/OrderService/"/>
</wsdl:port>
</wsdl:service>
...
Regards,
Jeff
--
View this message in context: http://www.nabble.com/Http-managed-attribute-and-jsr181-WSDLs-tf2300372.html#a6392811
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: Http managed attribute and jsr181 WSDLs
Posted by jpuro <jp...@sterlingtesting.com>.
I tried using this mapping attribute, but it doesn't seem like this helps
with the port issue? Is there a way to specify port 8080?
Thanks,
Jeff
gnodet wrote:
>
> There is a "mapping" attribute on the configuration
> which must be filled with the uri where your servlet
> is mapped. There may be a way to detect it at runtime,
> but i haven't found any. Suggestions are welcome.
>
> On 9/19/06, jpuro <jp...@sterlingtesting.com> wrote:
>>
>> I am attempting to use the http managed attribute along with jsr181.
>> When I
>> deploy my webapp the context path of the application is at
>> http://localhost:8080/jbpmpoc. However, when jsr181 generates the wsdl
>> it
>> creates an incorrect soap address of just "http://localhost/jbi". It
>> should
>> be using the base address as indicated above to generate the soap
>> address.
>> The end result is that when I pass my jsr181's wsdl to a SOAP client it
>> isn't able to properly locate the actual service. Any thoughts on this?
>>
>> ...
>> <wsdl:service name="orderHttpService">
>> <wsdl:port binding="tns:orderHttpServiceBinding"
>> name="orderHttpService">
>> <wsdlsoap:address location="http://localhost/jbi/OrderService/"/>
>> </wsdl:port>
>> </wsdl:service>
>> ...
>>
>> Regards,
>>
>> Jeff
>> --
>> View this message in context:
>> http://www.nabble.com/Http-managed-attribute-and-jsr181-WSDLs-tf2300372.html#a6392811
>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>
>>
>
>
> --
> Cheers,
> Guillaume Nodet
>
>
--
View this message in context: http://www.nabble.com/Http-managed-attribute-and-jsr181-WSDLs-tf2300372.html#a6394014
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: Http managed attribute and jsr181 WSDLs
Posted by Guillaume Nodet <gn...@gmail.com>.
There is a "mapping" attribute on the configuration
which must be filled with the uri where your servlet
is mapped. There may be a way to detect it at runtime,
but i haven't found any. Suggestions are welcome.
On 9/19/06, jpuro <jp...@sterlingtesting.com> wrote:
>
> I am attempting to use the http managed attribute along with jsr181. When I
> deploy my webapp the context path of the application is at
> http://localhost:8080/jbpmpoc. However, when jsr181 generates the wsdl it
> creates an incorrect soap address of just "http://localhost/jbi". It should
> be using the base address as indicated above to generate the soap address.
> The end result is that when I pass my jsr181's wsdl to a SOAP client it
> isn't able to properly locate the actual service. Any thoughts on this?
>
> ...
> <wsdl:service name="orderHttpService">
> <wsdl:port binding="tns:orderHttpServiceBinding"
> name="orderHttpService">
> <wsdlsoap:address location="http://localhost/jbi/OrderService/"/>
> </wsdl:port>
> </wsdl:service>
> ...
>
> Regards,
>
> Jeff
> --
> View this message in context: http://www.nabble.com/Http-managed-attribute-and-jsr181-WSDLs-tf2300372.html#a6392811
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>
--
Cheers,
Guillaume Nodet