[
https://issues.apache.org/jira/browse/CXF-2438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12757397#action_12757397
]
Benson Margulies commented on CXF-2438:
---------------------------------------
The WSDL has a part named Body that has neither an element nor a type.
The first fix is to emit the following:
org.apache.cxf.wsdl11.WSDLRuntimeException: Part Body defined with no element
and no type.
> NPE creating dynamic client
> ---------------------------
>
> Key: CXF-2438
> URL: https://issues.apache.org/jira/browse/CXF-2438
> Project: CXF
> Issue Type: Bug
> Affects Versions: 2.3
> Environment: Ubuntu Linux 9.04
> java version "1.6.0_16"
> Java(TM) SE Runtime Environment (build 1.6.0_16-b01)
> Java HotSpot(TM) 64-Bit Server VM (build 14.2-b01, mixed mode)
> Reporter: Walter MourĂ£o
> Priority: Blocker
> Attachments: wsdl.xml
>
>
> The following code generates the NPE:
> DynamicClientFactory dcf = DynamicClientFactory.newInstance();
> Client client = dcf.createClient(new
> URL("http://hidroweb.ana.gov.br/fcthservices/FCTH.asmx?WSDL"),new
> QName("http://www.ana.gov.br","FCTHService"), new
> QName("http://www.ana.gov.br","FCTHServiceSoap"));
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.