[ajug-members] beanmapping

DENG,Xingfeng huaiwudong2 at yahoo.com
Fri Feb 9 13:26:15 EST 2007


Hi Gurus,

 I am running a restaurant test program shipped with Flex 2.0. After I compiled the web services to my own server, for some reason a web service can not generate RestaurantCategory complex data type.

 <service name="CategoryWS" provider="java:RPC">
  <parameter name="methodName" value="*"/>
  <parameter name="className" value="samples.restaurant.CategoryService"/>
  <beanMapping languageSpecificType="java:samples.restaurant.RestaurantCategory" qname="ns1:RestaurantCategory" xmlns:ns1="http://www.adobe.com/samples"/>
 </service>

If I change the above "http://www.adobe.com/samples" to ,say, http://localhost:8080/axis/" and deploy it, all is well, except now complex type entry is missing in wsdl file so I can not get flex running as it complains no such data type.

So what exactly we should put into xmlns:ns1 after we deploy a web services to a new server? Does this really matter?(I know qname is local to wsdl and depends on ns1 set in xmlns) My wsdl shows fine in this address with this complex type missing:

http://localhost:8080/axis/services/CategoryWS?wsdl

Any suggestions will be appreciated.

Thanks,

Xingfeng
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.ajug.org/pipermail/ajug-members/attachments/20070209/2e884507/attachment.html 


More information about the ajug-members mailing list