Agreed.
Maybe you could create a JIRA on xfire if you can isolate the problem
from ServiceMix.

On 11/7/06, Ken Berthelot <[EMAIL PROTECTED]> wrote:
Thanks.  The namespace change did the trick.  I'm with you in thinking there's 
probably an xfire bug.

-----Original Message-----
From: Christian Schneider [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 07, 2006 3:38 PM
To: [email protected]
Subject: Re: Incorrect wsdl for jsr181 component

Hi Ken,

I got your example working by doing some small changes. First I made the
service and endpoint names easier and made sure they match in the http
and jsr definition.
Btw. I wonder why it worked at all with the original definitions. But
perhaps I don“t completely understand servicemix here.

But the thing that really made the difference is that I used the
namespace of your java package in the xmlns:serviceNS. It seems like a
complex object is only included in the wsdl if it is in the same
namespace as the service itself. I think this could be a bug in
servicemix or xfire. Perhaps Guillaume can comment on this.

Best regards

Christian


<?xml version="1.0" encoding="UTF-8"?>

<beans xmlns:http="http://servicemix.apache.org/http/1.0";
xmlns:serviceNS="http://service.edgenet.com";>
   <http:endpoint service="serviceNS:OrderService" endpoint="soap"
role="consumer" locationURI="http://localhost:8080/Order";
defaultMep="http://www.w3.org/2004/08/wsdl/in-out"; soap="true"/>
</beans>

<?xml version="1.0" encoding="UTF-8"?>

<beans xmlns:jsr181="http://servicemix.apache.org/jsr181/1.0";
xmlns:serviceNS="http://service.edgenet.com";>
   <classpath>
     <location>.</location>
   </classpath>
   <jsr181:endpoint service="serviceNS:OrderService" endpoint="soap"
pojoClass="com.edgenet.service.SubmitOrderService"
serviceInterface="com.edgenet.service.SubmitOrder" style="wrapped"/>
</beans>



Ken Berthelot schrieb:
> Thanks for the response, but still no luck.  I added a SubmitOrder
> interface (and had SubmitOrderService implement it) and referenced it in
> the jsr181 config:
>
>

--

Christian Schneider
---
http://www.liquid-reality.de



NOTICE: This email and any attached files are confidential and intended solely 
for the use of the addressee.  If you have received this email in error, please 
notify the sender and delete it immediately, without disclosing or using its 
contents for any purpose.  Edgenet Inc. accepts no liability for any damage 
caused by any virus transmitted by this email.



--
Cheers,
Guillaume Nodet

Reply via email to