I don't know if anyone else has seen this one yet, but...  I have an
XFire 1.2.5 WSDL-first service.  I was getting NullPointerExceptions
when sending requests.  After some investigation, it turns out that
leading consecutive capital letters cause problems.

 

For example, the following request type (as defined in the WSDL) will
break XFIRE:

 

<xsd:complexType name="OrderPizzaType">

  <xsd:sequence>

    <xsd:element name="PHoneNumber" type="xsd:string" />

    <xsd:element name="Toppings" type="tns:ToppingsListType" />

  </xsd:sequence>

</xsd:complexType>

 

Change the "PH" to "Ph" and everything is fine again.  I've filed a bug
with a working (err... not working) example:

http://jira.codehaus.org/browse/XFIRE-928

 

-Chris

Reply via email to