Make sense, got it working through additional params in the method.

Thanks,

Rodrigo

----- Original Message ----
From: Tomek Sztelak <[EMAIL PROTECTED]>
To: [email protected]
Sent: Wednesday, June 13, 2007 3:41:55 AM
Subject: Re: [xfire-dev] SOAP Headers on Java 1.4


attribute header=true on method parameters mean that parameter will be
send in header instead of body. Also you configured you services as
doc/literal so body will contains only method parameters ( without
method name ). What means that body element will be empty.

On 6/13/07, Rodrigo de la Parra <[EMAIL PROTECTED]> wrote:
> I was looking at this page and I'd like to do the same thing but in Java 1.4 
> (without annotations). Need to pass SOAP headers and body elements too.
>
> http://xfire.codehaus.org/JSR+181+Service
>
> I'm trying:
>
> <beans xmlns="http://xfire.codehaus.org/config/1.0";;>
> <service>
> <name>OrderService</name>
> <namespace>http://www.blastradius.com/ecommerce/services/order</namespace>
> <style>document</style>
> <use>literal</use>
> <serviceClass>org.codehaus.xfire.xmlbeans.example.OrderService</serviceClass>
> <implementationClass>org.codehaus.xfire.xmlbeans.example.OrderServiceImpl</implementationClass>
> <serviceFactory>org.codehaus.xfire.xmlbeans.XmlBeansServiceFactory</serviceFactory>
> <scope>session</scope>
> <method name="receiveOrder" operationName="receiveOrder">
> <parameter index="0" class="java.lang.String" header="true" />
> </method>
> </service>
> </beans>
>
> but it only puts stuff in the Header but nothing in the Body. Any suggestions?
>
> Thanks,
>
> Rodrigo
>
>
>       Be smarter than spam. See how smart SpamGuard is at giving junk email 
> the boot with the All-new Yahoo! Mail at 
> http://mrd.mail.yahoo.com/try_beta?.intl=ca
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>


-- 
-----
When one of our products stops working, we'll blame another vendor
within 24 hours.

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email


      Ask a question on any topic and get answers from real people. Go to 
Yahoo! Answers and share what you know at http://ca.answers.yahoo.com

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to