Hi Gurus,
 
I post this in case there are Flex developers happen to know Web Services in 
Java. Basically I have a complex data type mapping issue to install web 
services from Flex demo on my local server .

 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. Here is the WSDD file:
 
 <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


-------------------------------------------------------------

To unsubscribe from this list, simply email the list with unsubscribe in the 
subject line



For more info, see http://www.affug.com

Archive @ http://www.mail-archive.com/discussion%40affug.com/

List hosted by http://www.fusionlink.com

-------------------------------------------------------------

Reply via email to