Calling Ofbiz web services from a .NET client

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

Calling Ofbiz web services from a .NET client

Per Sandved Hustad
Hello.
I have been struggling for several days in order to call a simple Ofbiz web service from a Visual Studio 2008 C# console application. I am using the Ofbiz trunk, currently at revision 1004127. Using the http://localhost:8080/webtools/control/SOAPService/testSOAPScv?WSDL reference, I am able to generate a Visual Studio C# Service Reference and the call is successful, but the return value is always null. Using fiddler, I can see that the SOAP response indeed contains what looks like a valid soap response.

Reading https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=9798255 and https://issues.apache.org/jira/browse/OFBIZ-3385, I got the impression that it is still *not* possible to call a simple Ofbiz web service from a C# client.

Am I wrong? Is there anyone out there who has managed to call Ofbiz web services (e.g. the testSOAPScv) from a Visual Studio C# app? If the answer is yes, I would be very grateful for any hints regarding how to proceed.

Regards,
  Per




Reply | Threaded
Open this post in threaded view
|

Re: Calling Ofbiz web services from a .NET client

chris snow
Hi Per,

I would try using XML-RPC if you can find a .NET library for it.

Can you please re-open the JIRA issue?

Many thanks,

Chris
Reply | Threaded
Open this post in threaded view
|

Re: Calling Ofbiz web services from a .NET client

BJ Freeman
In reply to this post by Per Sandved Hustad
note familiar withusing .net
take a look at
https://issues.apache.org/jira/browse/OFBIZ-3877

=========================
BJ Freeman
Strategic Power Office with Supplier Automation  <http://www.businessesnetwork.com/automation/viewforum.php?f=52>
Specialtymarket.com  <http://www.specialtymarket.com/>
Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man


Per Sandved Hustad sent the following on 10/4/2010 7:10 AM:

> Hello.
> I have been struggling for several days in order to call a simple Ofbiz web service from a Visual Studio 2008 C# console application. I am using the Ofbiz trunk, currently at revision 1004127. Using the http://localhost:8080/webtools/control/SOAPService/testSOAPScv?WSDL reference, I am able to generate a Visual Studio C# Service Reference and the call is successful, but the return value is always null. Using fiddler, I can see that the SOAP response indeed contains what looks like a valid soap response.
>
> Reading https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=9798255 and https://issues.apache.org/jira/browse/OFBIZ-3385, I got the impression that it is still *not* possible to call a simple Ofbiz web service from a C# client.
>
> Am I wrong? Is there anyone out there who has managed to call Ofbiz web services (e.g. the testSOAPScv) from a Visual Studio C# app? If the answer is yes, I would be very grateful for any hints regarding how to proceed.
>
> Regards,
>    Per
>
>
>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: Calling Ofbiz web services from a .NET client

Jacques Le Roux
Administrator
In reply to this post by chris snow
Hi Chris,

I just reopened, have you looked at https://issues.apache.org/jira/browse/OFBIZ-3877 ?

Jacques

From: "chris snow" <[hidden email]>

> Hi Per,
>
> I would try using XML-RPC if you can find a .NET library for it.
>
> Can you please re-open the JIRA issue?
>
> Many thanks,
>
> Chris
>