Hello, I'm trying to send a complex type with an operation. That complex type has a EndpointReference element included in the following form:
<element name="HostLocation" type="wsa:EndpointReferenceType"/> I try to generate a serializer using xmlbeans but when I print the xml code of a HostLocationDocument I get this: <HostLocation xmlns="http://lsd.org/wsdm/HostInstallationSchema"> <wsa:EndpointReference xmlns:wsa="http://www.w3.org/2005/08/addressing"> <wsa:Address>http://localhost</wsa:Address> </wsa:EndpointReference> </HostLocation> Also, for example, WS-Notification types has EndpointReferenceType elements, for example, the ProducerReference element defined as: <xsd:element name="ProducerReference" type="wsa:EndpointReferenceType" /> but in a notification, I see the following XML code: <wsnt:ProducerReference> <wsa:ReferenceParameters xmlns:wsa="http://www.w3.org/2005/08/addressing"/> <wsa:Address xmlns:wsa="http://www.w3.org/2005/08/addressing">http://127.0.0.1:8081/NotificationService/services/Notification</wsa:Address> </wsnt:ProducerReference> So which one is the right choice? Is it a bug in the xmbeans generation process? Shouldn't it be like that? <HostLocation xmlns="http://lsd.org/wsdm/HostInstallationSchema" > <wsa:Address xmlns:wsa="http://www.w3.org/2005/08/addressing">http://localhost</wsa:Address> </HostLocation> -- Saludos. José Antonio Sánchez --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
