[ http://issues.apache.org/jira/browse/JUDDI-29?page=history ]
     
Steve Viens closed JUDDI-29:
----------------------------


Fix has been tested and verified.

> Non valid serviceInfo element, missing businessKey attribute
> ------------------------------------------------------------
>
>          Key: JUDDI-29
>          URL: http://issues.apache.org/jira/browse/JUDDI-29
>      Project: jUDDI
>         Type: Bug
>  Environment: Linux
>     Reporter: David Kocher
>     Assignee: Steve Viens
>     Priority: Critical

>
> The uddi-v2 schema ( http://uddi.org/schema/uddi_v2.xsd ) defines the 
> serviceInfo element:
>       <xsd:complexType name="serviceInfo">
>               <xsd:sequence>
>                       <xsd:element ref="uddi:name" minOccurs="0"
> maxOccurs="unbounded"/>
>               </xsd:sequence>
>               <xsd:attribute name="serviceKey" type="uddi:serviceKey"
> use="required"/>
>               <xsd:attribute name="businessKey"
> type="uddi:businessKey" use="required"/>
>       </xsd:complexType>
> Both the serviceKey and businessKey are required attributes in the 
> serviceInfo element. (This also applies for v3 of the UDDI schema)
> However, the response from juddi does NOT contain the businessKey 
> attribute in the serviceInfo element; the response doesn't validate and 
> we get the unmarshalling exception
>  > <serviceInfo
>  >    serviceKey="28F53590-CB3A-11D8-B590-94A6F2DB02CD">
>  >    <name xml:lang="en">SalaryDeclaration</name>
>  > </serviceInfo>
> javax.xml.registry.JAXRException: javax.xml.bind.UnmarshalException: 
> Unexpected element {urn:uddi-org:api_v2}:name
>     at com.sun.xml.registry.uddi.Processor.processResponseJAXB(Unknown Source)
>     at com.sun.xml.registry.uddi.Processor.processRequestJAXB(Unknown Source)
>     at com.sun.xml.registry.uddi.UDDIMapper.findOrganizations(Unknown Source)
>     at 
> com.sun.xml.registry.uddi.BusinessQueryManagerImpl.findOrganizations(Unknown 
> Source)
> Caused by: javax.xml.bind.UnmarshalException: Unexpected element 
> {urn:uddi-org:api_v2}:name 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira

Reply via email to