Hi,
If there is one topic that has been all over the internet about JBossWS and has
never been solved (at least I can't find a sollution), it is this problem:
17:59:51,375 WARN [JavaWsdlMapping] Cannot find jaxrpc-mapping for type:
{...}Status
17:59:51,406 WARN [TypeMappingDescription] Class not found: ... Status
If anybody has any advice, this would be more then appreciated, because I'm
realy stuck here.
Here is how I work:
I created the Document/literal style WSDL by hand (read: using Eclipse's
wsdl-editor)
I have in wsdl:message a part that is defined as follows:
<wsdl:part name="newStatus" element="tns:Status"></wsdl:part>
element="tns:Status" refers to an element in <wsdl:types><xsd:schema ...>
This element is defined as:
<xsd:element name="Status" type="tns:StatusType"/>
where StatusType is defined as:
<xsd:complexType name="StatusType">
<xsd:all>
<xsd:element name="state" type="xsd:int" />
</xsd:all>
</xsd:complexType>
I follow this method throughout the wsdl file.
I generate the SEI using jwsdp 1.6 using the following ant task:
In the mapping.xml file I get the following java-xml-mapping
<java-xml-type-mapping>
<java-type>
be.ibbt.coplintho.emergencycall.ws.StatusType
</java-type>
<root-type-qname
xmlns:typeNS="http://coplintho.ibbt.be/EmergencyCallStorage/">
typeNS:StatusType
</root-type-qname>
<qname-scope>complexType</qname-scope>
<variable-mapping>
<java-variable-name>state</java-variable-name>
<xml-element-name>state</xml-element-name>
</variable-mapping>
</java-xml-type-mapping>
which looks OK to me.
when I deploy this I get the error as mentioned above:
Cannot find jaxrpc-mapping for type: {...}Status
But!!! I never defined a type named Status!! Status is an element in the
schema, not a type! the type is called StatusType.
So why does it want to find the type Status when it doesn't exist?
What is JBoss trying to do when looking for a type named Status?
Greetings,
Kristof Taveirne - Hoping to get a hold of this bugger, once and for all
View the original post :
http://staging.jboss.com/index.html?module=bb&op=viewtopic&p=3890781#3890781
Reply to the post :
http://staging.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3890781
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user