Hi Gert
When I add...
service="jwsdl:owen" endpoint="soap"
...to the file as described in my earlier message below, I get the
following error in the build output:
org.jdom.IllegalNameException: The name "" is not legal for JDOM/XML
namespaces: Namespace URIs must be non-null and non-empty Strings.
I don't know what this means.
Owen.
-----Original Message-----
From: Owen Thomas [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 02, 2007 4:42 PM
To: [email protected]
Subject: RE: Confusion over documentation referring to the "Creating the
HTTPConsumerServiceUnit".
Righto Gert.
I'll add this information as attributes to the jsr181:endpoint tag.
Owen.
-----Original Message-----
From: Gert Vanthienen [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 02, 2007 4:35 PM
To: [email protected]
Subject: Re: Confusion over documentation referring to the "Creating the
HTTPConsumerServiceUnit".
Owen,
You'll have to add
service="jwsdl:owen" endpoint="soap"
to your JSR-181 endpoint.
Your HTTP consumer endpoint will then expose this service to the outer
world.
Gert
Owen Thomas wrote:
> Hi Gert.
>
> Okay... I assume that the changes you state apply to either or both
> xbean.xml files. I've given below, the xbean.xml for both SU's. Please
> show me how I change each/both to get the components to talk.
>
> This is my HTTP xbean.xml:
>
> *
> ******** Start of output
> <beans xmlns:http="http://servicemix.apache.org/http/1.0"
> xmlns:jwsdl="http://au.net.wcg.webservice.jvmhost/WSDL">
> <http:endpoint service="jwsdl:owen"
> endpoint="soap"
> role="consumer"
> locationURI="http://0.0.0.0:8192/example/"
> defaultMep="http://www.w3.org/2004/08/wsdl/in-out"
> soap="true" />
>
> </beans>
> ******** End of output
> *
>
> This is my JSR-181 xbean.xml:
>
> *
> ******** Start of output
> <beans xmlns:jsr181="http://servicemix.apache.org/jsr181/1.0">
> <jsr181:endpoint
> pojoClass="au.net.wcg.webservice.jsr181.JVMHostServiceUnit" />
> </beans>
> ******** End of output
> *
>
> Thanks,
>
> Owen.
>
>