(doh... hopefully this will include the soap fragments)

I'm attempting to generate server side artifacs from an established rpc/literal 
WSDL file using jwsdp2.0 wscompile and I'm hitting an issue deploying a 
simpleType that is a restircted length xsd:string.

>From the wsdl...

...
<simpleType name="my_id">
  |   <restriction base="string">
  |     <maxLength value="20"/>
  |   </restriction>
  | </simpleType>
...

And on deployment to JBoss 4.0.4RC1...

2006/03/10 09:26:15.524 WARN  JavaWsdlMapping Cannot find jaxrpc-mapping for 
type: {http://mynamespace}my_id

2006/03/10 09:26:16.067 WARN  TypeMappingDescription Class not found: 
mynamespace.my_id

Note that wscompile does not generate a "my_id.java" file, but references it as 
a java.lang.String.   Also, not entry exists in the jaxrpc-mapping.xml for 
my_id type.   

I can confirm there are no namespace issues as all other artifacts are 
generated and serialising correctly.  Also, other restricted simpleTypes are 
being used: including the standard enumeration pattern.


This also fails...
<simpleType name="my_id">
  |   <restriction base="string"/>
  | </simpleType>


Without removing the restriction in the WSDL, what else can I do?

Thanks in advance

James

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3929280#3929280

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3929280


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to