ofBiz SOAP Handler

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

ofBiz SOAP Handler

consolex
I try to call the service via that servicedefinition:

<service name="CurrencyConverter" engine="soap" export="true"
location="http://www.petermeinl.de/CurrencyConverter/CurrencyConverter.asmx?WSDL" invoke="GetConversionRate">
        <description>Invoke the remote Web Service from OFBiz</description>
        <namespace>http://istec.de/CurrencyConverter/CurrencyConverter</namespace>
        <attribute name="fromCurrency" mode="IN" type="String" optional="false"/>
        <attribute name="toCurrency" mode="IN" type="String" optional="false"/>
        <attribute name="return" mode="OUT" type="String" optional="false"/>
</service>


but the following error happens:
Message: RPC error (Server did not recognize the value of HTTP Header SOAPAction: .)

I constructed the in-map for the service via an event:
 <call-map-processor in-map-name="parameters"
                        out-map-name="converterContext">


maybe the problem is because there are parameters in the map like:

userLogin=[GenericEntity:UserLogin][createdStamp,2008-10-02 .....



Any clue?




Reply | Threaded
Open this post in threaded view
|

Re: ofBiz SOAP Handler

BJ Freeman
this should be on the User Mailing list.
this has been answer a lot on the User mailing list.
Please research the archives.
do a google on
ofbiz soap

consolex sent the following on 11/24/2008 2:33 AM:

> I try to call the service via that servicedefinition, but the following error
> happens:
>
> Message: RPC error (Server did not recognize the value of HTTP Header
> SOAPAction: .)
>
> I constructed the in-map for the service via an event:
>  <call-map-processor in-map-name="parameters"
> out-map-name="converterContext">
>
> maybe the problem is because there are parameters in the map like:
>
> userLogin=[GenericEntity:UserLogin][createdStamp,2008-10-02 .....
>
>
> Here the servicedef:
>
> <service name="CurrencyConverter" engine="soap" export="true"
> location="http://www.petermeinl.de/CurrencyConverter/CurrencyConverter.asmx?WSDL"
> invoke="GetConversionRate">
>         <description>Invoke the remote Web Service from OFBiz</description>
>        
> <namespace>http://istec.de/CurrencyConverter/CurrencyConverter</namespace>
>         <attribute name="fromCurrency" mode="IN" type="String"
> optional="false"/>
>         <attribute name="toCurrency" mode="IN" type="String"
> optional="false"/>
>         <attribute name="return" mode="OUT" type="String" optional="false"/>
> </service>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: ofBiz SOAP Handler

consolex
ok...do a google....not very helpful.

I understand that it may should be asked in user mailing list.

Anyone willing to point me to the right direction?



BJ Freeman wrote
this should be on the User Mailing list.
this has been answer a lot on the User mailing list.
Please research the archives.
do a google on
ofbiz soap

consolex sent the following on 11/24/2008 2:33 AM:
> I try to call the service via that servicedefinition, but the following error
> happens:
>
> Message: RPC error (Server did not recognize the value of HTTP Header
> SOAPAction: .)
>
> I constructed the in-map for the service via an event:
>  <call-map-processor in-map-name="parameters"
>  out-map-name="converterContext">
>
> maybe the problem is because there are parameters in the map like:
>
> userLogin=[GenericEntity:UserLogin][createdStamp,2008-10-02 .....
>
>
> Here the servicedef:
>
> <service name="CurrencyConverter" engine="soap" export="true"
> location="http://www.petermeinl.de/CurrencyConverter/CurrencyConverter.asmx?WSDL"
> invoke="GetConversionRate">
>         <description>Invoke the remote Web Service from OFBiz</description>
>        
> <namespace>http://istec.de/CurrencyConverter/CurrencyConverter</namespace>
>         <attribute name="fromCurrency" mode="IN" type="String"
> optional="false"/>
>         <attribute name="toCurrency" mode="IN" type="String"
> optional="false"/>
>         <attribute name="return" mode="OUT" type="String" optional="false"/>
> </service>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: ofBiz SOAP Handler

consolex
I searched nabble:


-ofbiz soap
-RPC error (Server did not recognize the value of HTTP Header SOAPAction: .)]
-SOAPAction & Header

I cant find a thing!


Any hints?


consolex wrote
ok...do a google....not very helpful.

I understand that it may should be asked in user mailing list.

Anyone willing to point me to the right direction?



BJ Freeman wrote
this should be on the User Mailing list.
this has been answer a lot on the User mailing list.
Please research the archives.
do a google on
ofbiz soap

consolex sent the following on 11/24/2008 2:33 AM:
> I try to call the service via that servicedefinition, but the following error
> happens:
>
> Message: RPC error (Server did not recognize the value of HTTP Header
> SOAPAction: .)
>
> I constructed the in-map for the service via an event:
>  <call-map-processor in-map-name="parameters"
>  out-map-name="converterContext">
>
> maybe the problem is because there are parameters in the map like:
>
> userLogin=[GenericEntity:UserLogin][createdStamp,2008-10-02 .....
>
>
> Here the servicedef:
>
> <service name="CurrencyConverter" engine="soap" export="true"
> location="http://www.petermeinl.de/CurrencyConverter/CurrencyConverter.asmx?WSDL"
> invoke="GetConversionRate">
>         <description>Invoke the remote Web Service from OFBiz</description>
>        
> <namespace>http://istec.de/CurrencyConverter/CurrencyConverter</namespace>
>         <attribute name="fromCurrency" mode="IN" type="String"
> optional="false"/>
>         <attribute name="toCurrency" mode="IN" type="String"
> optional="false"/>
>         <attribute name="return" mode="OUT" type="String" optional="false"/>
> </service>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: ofBiz SOAP Handler

Sven Wesley
Unfortunately I can't help you at the moment, but check these links if they
can help you.
http://www.opensourcestrategies.com/ofbiz/OFBIZ_SOAP_RMI_Tutorial.pdf
http://www.nabble.com/forum/Search.jtp?query=soap+axis&local=y&forum=2740&daterange=0
http://www.nabble.com/Using-SOAP-complex-types-with-OfBiz-td9180865.html#a9180865

Best of luck,
Sven

2008/11/25 consolex <[hidden email]>

>
> I searched nabble:
>
>
> -ofbiz soap
> -RPC error (Server did not recognize the value of HTTP Header SOAPAction:
> .)]
> -SOAPAction & Header
>
> I cant find a thing!
>
>
> Any hints?
>
>
>
> consolex wrote:
> >
> > ok...do a google....not very helpful.
> >
> > I understand that it may should be asked in user mailing list.
> >
> > Anyone willing to point me to the right direction?
> >
> >
> >
> >
> > BJ Freeman wrote:
> >>
> >> this should be on the User Mailing list.
> >> this has been answer a lot on the User mailing list.
> >> Please research the archives.
> >> do a google on
> >> ofbiz soap
> >>
> >> consolex sent the following on 11/24/2008 2:33 AM:
> >>> I try to call the service via that servicedefinition, but the following
> >>> error
> >>> happens:
> >>>
> >>> Message: RPC error (Server did not recognize the value of HTTP Header
> >>> SOAPAction: .)
> >>>
> >>> I constructed the in-map for the service via an event:
> >>>  <call-map-processor in-map-name="parameters"
> >>>                     out-map-name="converterContext">
> >>>
> >>> maybe the problem is because there are parameters in the map like:
> >>>
> >>> userLogin=[GenericEntity:UserLogin][createdStamp,2008-10-02 .....
> >>>
> >>>
> >>> Here the servicedef:
> >>>
> >>> <service name="CurrencyConverter" engine="soap" export="true"
> >>> location="
> http://www.petermeinl.de/CurrencyConverter/CurrencyConverter.asmx?WSDL"
> >>> invoke="GetConversionRate">
> >>>         <description>Invoke the remote Web Service from
> >>> OFBiz</description>
> >>>
> >>> <namespace>http://istec.de/CurrencyConverter/CurrencyConverter
> </namespace>
> >>>         <attribute name="fromCurrency" mode="IN" type="String"
> >>> optional="false"/>
> >>>         <attribute name="toCurrency" mode="IN" type="String"
> >>> optional="false"/>
> >>>         <attribute name="return" mode="OUT" type="String"
> >>> optional="false"/>
> >>> </service>
> >>>
> >>>
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/ofBiz-SOAP-Handler-tp20658255p20682016.html
> Sent from the OFBiz - Dev mailing list archive at Nabble.com.
>
>
Reply | Threaded
Open this post in threaded view
|

Re: ofBiz SOAP Handler

Jacques Le Roux
Administrator
Don't forget the wiki. It's supposed to be the main place for documentation. Searching for SOAP lead at least to the FAQ

Jacques

From: "Sven Wesley" <[hidden email]>

> Unfortunately I can't help you at the moment, but check these links if they
> can help you.
> http://www.opensourcestrategies.com/ofbiz/OFBIZ_SOAP_RMI_Tutorial.pdf
> http://www.nabble.com/forum/Search.jtp?query=soap+axis&local=y&forum=2740&daterange=0
> http://www.nabble.com/Using-SOAP-complex-types-with-OfBiz-td9180865.html#a9180865
>
> Best of luck,
> Sven
>
> 2008/11/25 consolex <[hidden email]>
>
>>
>> I searched nabble:
>>
>>
>> -ofbiz soap
>> -RPC error (Server did not recognize the value of HTTP Header SOAPAction:
>> .)]
>> -SOAPAction & Header
>>
>> I cant find a thing!
>>
>>
>> Any hints?
>>
>>
>>
>> consolex wrote:
>> >
>> > ok...do a google....not very helpful.
>> >
>> > I understand that it may should be asked in user mailing list.
>> >
>> > Anyone willing to point me to the right direction?
>> >
>> >
>> >
>> >
>> > BJ Freeman wrote:
>> >>
>> >> this should be on the User Mailing list.
>> >> this has been answer a lot on the User mailing list.
>> >> Please research the archives.
>> >> do a google on
>> >> ofbiz soap
>> >>
>> >> consolex sent the following on 11/24/2008 2:33 AM:
>> >>> I try to call the service via that servicedefinition, but the following
>> >>> error
>> >>> happens:
>> >>>
>> >>> Message: RPC error (Server did not recognize the value of HTTP Header
>> >>> SOAPAction: .)
>> >>>
>> >>> I constructed the in-map for the service via an event:
>> >>>  <call-map-processor in-map-name="parameters"
>> >>>                     out-map-name="converterContext">
>> >>>
>> >>> maybe the problem is because there are parameters in the map like:
>> >>>
>> >>> userLogin=[GenericEntity:UserLogin][createdStamp,2008-10-02 .....
>> >>>
>> >>>
>> >>> Here the servicedef:
>> >>>
>> >>> <service name="CurrencyConverter" engine="soap" export="true"
>> >>> location="
>> http://www.petermeinl.de/CurrencyConverter/CurrencyConverter.asmx?WSDL"
>> >>> invoke="GetConversionRate">
>> >>>         <description>Invoke the remote Web Service from
>> >>> OFBiz</description>
>> >>>
>> >>> <namespace>http://istec.de/CurrencyConverter/CurrencyConverter
>> </namespace>
>> >>>         <attribute name="fromCurrency" mode="IN" type="String"
>> >>> optional="false"/>
>> >>>         <attribute name="toCurrency" mode="IN" type="String"
>> >>> optional="false"/>
>> >>>         <attribute name="return" mode="OUT" type="String"
>> >>> optional="false"/>
>> >>> </service>
>> >>>
>> >>>
>> >>
>> >>
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/ofBiz-SOAP-Handler-tp20658255p20682016.html
>> Sent from the OFBiz - Dev mailing list archive at Nabble.com.
>>
>>
>