cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benson Margulies <bimargul...@gmail.com>
Subject Re: [jira] Commented: (CXF-2438) NPE creating dynamic client
Date Sat, 19 Sep 2009 01:01:21 GMT
wsi-Bp does not permit these. run the cxf wsld validator for the full  
message. cxf pretty much sticks to wsi-bp.

On Sep 18, 2009, at 8:12 PM, Walter Mourão (JIRA) <jira@apache.org>  
wrote:

>
>    [ https://issues.apache.org/jira/browse/CXF-2438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12757547#action_12757547

>  ]
>
> Walter Mourão commented on CXF-2438:
> ------------------------------------
>
> I'm not an expert, but I took a look at http://schemas.xmlsoap.org/wsdl/ 
>  and it looks like the "part" element does not require the "type":
> ...
> <xs:complexType name="tMessage">
> <xs:complexContent>
> <xs:extension base="wsdl:tExtensibleDocumented">
> <xs:sequence>
> <xs:element name="part" type="wsdl:tPart" minOccurs="0"  
> maxOccurs="unbounded"/>
> </xs:sequence>
> <xs:attribute name="name" type="xs:NCName" use="required"/>
> </xs:extension>
> </xs:complexContent>
> </xs:complexType>
> <xs:complexType name="tPart">
> <xs:complexContent>
> <xs:extension base="wsdl:tExtensibleAttributesDocumented">
> <xs:attribute name="name" type="xs:NCName" use="required"/>
> <xs:attribute name="element" type="xs:QName" use="optional"/>
> <xs:attribute name="type" type="xs:QName" use="optional"/>
> </xs:extension>
> </xs:complexContent>
> </xs:complexType>
> ...
> did I miss something ?
> Thanks in advance,
>
>> 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
>>            Fix For: 2.3
>>
>>        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.
>

Mime
View raw message