Creating BlackBerry method stubs using wscompile on WSDL from ColdFusion
Posted
by Jim B
on Stack Overflow
See other posts from Stack Overflow
or by Jim B
Published on 2009-08-20T13:17:56Z
Indexed on
2010/04/08
12:53 UTC
Read the original article
Hit count: 311
I have been working on a BlackBerry application that consumes web services from ColdFusion 7. The Java ME SDK and the Java Wireless Toolkit both require that the generated WSDL be of the document/literal type.
Fortunately, I have input on the web service development so I tried setting 'style="document"' in the cfcomponent tag. This generated a document/literal style WSDL but now wscompile generates the following errors in several places:
Found unknown simple type: javax.xml.soap.SOAPElement Found unknown simple type: java.util.Calendar
Any ideas why this is happening?
The WSDL does get parsed correctly by the JWSDP tool but the stubs use namespaces that are not available in the J2ME platform. I would have thought ColdFusion WSDL would work more easily with other products in the Java family.
© Stack Overflow or respective owner