I was hoping to avoid having to write any specific code, and instead just use
the built-in services to construct my prototype. 

My goal is an message such as:

POST /axis2/services/Login HTTP/1.1
Accept: text/xml, text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
SOAPAction: "query"
Content-Type: text/xml; charset=utf-8
Content-Length: 948
Cache-Control: no-cache
Pragma: no-cache
User-Agent: Java/1.5.0_02
Host: 127.0.0.1:8089
Connection: keep-alive

<soap:Envelope xmlns:idal="http://idalica.compiere.soa";
xmlns:sess="http://ws.apache.org/namespaces/axis2";
                        xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:xs="http://www.w3.org/2001/XMLSchema";>
                        <soap:Header>
                                <sess:ServiceGroupId>
                                        <xsl:value-of select="."/>
                                </sess:ServiceGroupId>
                        </soap:Header>
                        <soap:Body>
                                <idal:query>
                                        <idal:objectName>Sales 
Order</idal:objectName>
                                        <idal:whereClause>C_Order_ID = 
108</idal:whereClause>
                                        <idal:orderByClause/>
                                        <idal:depthLevel/>
                                </idal:query>
                        </soap:Body>
</soap:Envelope>        

>From what I understand, that's not possible "out-of-the-box" without having
to write seperate java component to feed the HTTP-Component? (in my
prototype, I was just using XSTL to craft the outgoing SOAP message, as
shown above). 

That's alright -- I need the experience anyway in writing a
NormalizedMessage, as it's inevitable that I will need to do this at some
point.

Thanks,

jeff
--
View this message in context: 
http://www.nabble.com/soap-header-support-using-SAAJ-t1535663.html#a4210986
Sent from the ServiceMix - User forum at Nabble.com.

Reply via email to