soap

Accessing Magento API with Java : Procedure ххх not present

Hello, experts! I need to build Special Java Api to wrap Magento Api. After struggling with several Magento bugs, I am finally able to login and get session id; but any method I call leads me to an error. The error is: Procedure '*procedure name*' not present I generated Java code from wsdl using Eclipse build in plugin and wsdl loc...

Is there a Google App Engine equivalent that lets you use SOAP with Java and is free?

Is there one? It's crucial for us to use SOAP and we don't want to have to attempt written this application in python, so we are looking for alternatives to the Google App Engine that is free. ...

Best practices for class-mapping with SoapClient

Using SoapClient's class mapping feature and it's pretty sweet. Unfortunately the SOAP service we're using has a bunch of read-only properties on some of the objects and will throw faults if the properties are passed back as anything but null. Need to filter out the properties before they're used in the SOAP call and am looking for adv...

WS Libs: com.sun.xml vs javax.xml

There are identical classes of java WebServices API & IMPL in those packages groups, only package names are different. http://mvnrepository.com/artifact/javax.xml http://mvnrepository.com/artifact/com.sun.xml Which ones should I use in my code? I would prefer NON-com.sun.* as per java conventions, but still my dependencies ( e.g. Spr...

Sugar SOAP set_entry

I am trying to add entries to a Sugar Contacts database with the following SOAP code in PHP. $set_entry_params = array( 'session' => $result_array->id, 'module_name' => 'Contacts', 'name_value_list'=>array( array('name'=>'Name','value'=>'Brian') ) ); $result = $soapClient->__soapCall('set_entry', $set_entry_params); An entr...

Can MSM (Merge Module) files be used within Inno-Setup?

Can I include a MSM file and execute it within Inno-Setup? If not, how would I properly install a merge module? I am needing to install SOAP3 with my application and need a bit of guidance. Will I have to wrap the MSM into a custom MSI and then have Inno execute the MSI file? What would I use to create a clean and stupid MSI file for the...

Retrieving webmethod parameter values from Application_BeginRequest or Application_EndRequest

Is there a way to retrieving parameter names and values passed to a web method from Request object? I've read somewhere that you need extra code to access the soap body. Any known workarounds to be able to see the soap body from Application_BeginRequest? Thanks! ...

consuming web service (for the first time) in php

It took me a while to get soap configured in php. Now I'm just trying to learn about it. I'm using the web service here to learn: http://www.webservicex.net/WCF/ServiceDetails.aspx?SID=19 It says the WSDL is here: http://www.webservicex.net/stockquote.asmx?wsdl and this is my code: $client = new SoapClient('http://www.webservicex.ne...

Java SOAP - Need help on Body and ChildElement manipulation

Hi guys I'm trying to write some code in java to learn more about coding with WSDL and SOAP. For example given :'<'to:checkAccount xmlns:to="http://foo"> '<'to:id> test '<'/to:id> '<'to:password> test '<'/to:password> '<'to:checkAccount >" '<'element name="checkAccountResponse"> '<'complexType> '<'sequence> ...

Are there any libraries that support MTOM encryption in Python

Hello, I am using Python Suds to connect to a webservice and I am wanting to use MTOM encrpytion to send an XML message. I have looked around the web and seen libraries for PHP etc. but not for Python. Can anyone recommend a good MTOM library to use preferably for use with SUDS. Thanks for any suggestions. ...

SOAP JAX-WS client in ruby

Hi All, I want to write a ruby web service client for a SOAP (JAX-WS) web service. I looked into soap4r and handsoap but couldnt find useful resources to write a (JAX-WS) client Can you help me to find some resources and som way of doing it. Coz as i can see, my web service is developed using oracle JDeveloper and looks little differen...

Problem in Apache CXF (Simple Frontend): 'Already connected'

I am using apache CXF for the first time. I am trying to establish a connection based on the CXF simple front end (Configuration notes) technology. I can't really see what I've done wrong, but I am getting a weird error (see below). I have also posted this question to [email protected], but I haven't received a response yet. Perhaps s...

Reuse and add to 500 error to get better stats from soap

Hi We deliver a huge amount of data based on soap requests. Whenever a request fails, soap specifies a 500 error must be returned with a response object telling about the error. Now I know for a fact that MANY of our responses actually should be 400 errors due to bad requests, but we are not allowed to send those. Is it possible to add ...

Can I create a schema that validates both soap 1.1 and 1.2

I need a schema that validates both soap 1.1 and 1.2 how can I do it ? ...

C#: Generate XML SOAP Request from Reference.cs and WSDL without actually calling web method?

Is it possible in C#/ASPNET to generate the XML SOAP request from the local web method reference without actually posting a request to the web service server? I'm trying to create a class which will generate this SOAP request XML without actually invoking the service. I've looked at the SOAP Extension classes and other methods but they...

Changing SOAP Version in VS2008

Hi, In 2004/5 I built web services to be consumed by a clients partner site in VS2003 ASP.NET 1.1 VB. I have just completed rebuilding the services in VS2008 ASP.NET 3.5 VB. During functional testing from the partner site, it seems none of the services work correctly and some not at all. Yet when tested using SOAPUI or via VS2008 debug...

Howto change Axis server-config.wsdd sothat we don't expect a SOAPAction

The problem I'm facing is that the client of my service will never send me a SOAPAction header. How can I tell Axis to still map to the incomming call to my service implementation anyway. I did bump into tricks like adding a Handler like this: <handler name="ReportMapper" type="java:com.mycompany.project.ReportMapper"/> <transport nam...

Choosing a method for a webservice

I'm asked to set up a new webservice which should be easily usable in whatever language (php, .NET, Java, etc.) possible. Of course rolling my own can be done, accepting different content-types (xml / x-www-form-urlencoded (normal post) / json / etc.), but an existing method or mechanism would of course be prefered, cutting down time spe...

Php SOAP yudu example?

Hello, I am trying to connect to Yudu's web service via soap/php. When I send this test, I am getting the following fault response and code: ERROR: env:Server-java.lang.RuntimeException: com.yudu.webservice.InternalError If I dont specify a subscriptionId I get the following fault: Client-SOAP-ERROR: Encoding: object hasn't 'subscrip...

Javax.xml.ws.Endpoint how does it deal with multiple connections?

When you use javax.xml.ws.Endpoint.publish to handle incoming restful/soap requests, will it generate a thread for each request? or will I have handle threads myself? I've been trying to work this out for a couple of days now. The documentation hints on threads, but there is nothing specific about this. Doco says: An Executor may be ...