users@glassfish.java.net

EndpointReference question

From: <glassfish_at_javadesktop.org>
Date: Mon, 16 Jun 2008 08:57:51 PDT

Hello,

I'm creating a webservice endpoint reference in a bpel process by assigning the following values to a partnerLink (overwriting default read from a wsdl):

<copy>
        <from>
                            <literal>
                                <service-ref>
                                    <wsa:EndpointReference>
                                        <wsa:Address>
                                            http://localhost:8080/services/MyService
                                        </wsa:Address>
                                        <wsa:ServiceName PortName="ServicePort">
                                            ns5:MyService
                                        </wsa:ServiceName>
                                        <wsa:ReferenceParameters>
                                            <ns5:Reference>
                                                123
                                            </ns5:Reference>
                                        </wsa:ReferenceParameters>
                                        <wsa:ReferenceProperties>
                                            <ns5:Reference>
                                                123
                                            </ns5:Reference>
                                        </wsa:ReferenceProperties>
                                     </wsa:EndpointReference>
                                </service-ref>
                            </literal>
                        </from>
                        <to partnerLink="PartnerLinkMyService"/>
                        
                    </copy>


According to the Address specs (http://xml.coverpages.org/WS-Addressing200408.pdf) the ReferenceProperties/Parameters should be mapped to the SOAP header... However, the result is that only the Address is mapped (To).

Any thoughts?

Many Thanks,
Bjorn
[Message sent by forum member 'babram' (babram)]

http://forums.java.net/jive/thread.jspa?messageID=280521