soap

Debugging GroovyWS. Get the actual generated XML

I'm using GroovyWS in a Grails app to connect to an external SOAP server. I'd like to see the actual XML that is generated by GroovyWS since I'm getting errors without any useful information. I know I can use wireshark or something similar, but there really should be an easier way. Printing the object just prints the Java Object@... s...

Create MockService in soapUI without wsdl

Is it somehow possible to create mock service in soapUI without having wsdl file? All I have is sample request and responses. I think that should be possible to generate WSDL from request and response examples with soapUI but I'm not able to find any tutorials about it. ...

Delphi 2007 generating incorrect SOAP messages

I am writing an application in Delphi 2007 which consumes a web service. I used the WSDL importer to generate the necessary code to communicate with the service, but I'm getting "unexpected subelement (elementname)" errors when trying to use the service. Using Fiddler 2, I've found that the problem is that an xmlns is being added to an...

What are some good WWSAPI information sources?

Does anyone have some good suggestions for sites, books, tutorials or other information sources on WWSAPI and its use? I'm being dropped in the deep end on a project using it and want to bring myself up to speed. http://msdn.microsoft.com/en-au/magazine/ee335693.aspx has been the main source of my knowledge so far. ...

Sending and Receiving data through SOAP web service in .Net

I am working on a client - server application and in which I used to send and receive data through SOAP web service. Now after sometimes I have heard from someone that I might lost some data while this process on soap service created in ASP.net. So now I have decided to send and receive data through batches like first I will send List o...

Inline complex types XSD into a WSDL

I'm currently implementing a web service with a few complex types in java using plain JDK and the integrated web server. Is it possible to tell the JDK to inline the generated XSD for complex types into the WSDL instead of referencing to it via xsd:import? Thank you in advance! ...

How can I make a SOAP call in C# with an old WSDL+XSD and current Web Service location?

My question is similar to this one: http://stackoverflow.com/questions/1963242/need-to-call-soap-ws-without-wsdl except that my application does not use Spring so the answer was not helpful. Here's what I have: A web service that only accepts SOAP requests A current endpoint URL for the web service An outdated wsdl and xsd file An ou...

SOAP Message size it greater than allowed limit [SECURITY.MSGSIZE v 1.0]? How?

I'm trying to help a colleague run SOATest (a web services client that makes testing SOAP services easy) on a WCF web service operation, and for "big" responses, we are seeing this error: SOAP Message size it greater than allowed limit [SECURITY.MSGSIZE v 1.0] This is perplexing, as the tool is actually able to get a response from the...

COM object to web service for mobile devices.

We got a COM object for our web applications. now we need to develop application for different mobile devices like IPhone, Android and windows mobile. what are the options out there ( rest server, soap serverice ) any idea. ...

SOAP url in browser

When you enter soap servers url in browser, normally it produces blank page. But if memory serves me I saw somewhere something like Hello, this is our soap service. For documentation please follow this link. To get an account, please follow this link. Blahblah. How can I do that? (Using PHP SoapServer, if that matters). I di...

PHP SoapClient Warning: SoapClient::SoapClient(): Unable to set private key file

I'm trying to use soap to call a webservice but I keep getting the following error "Warning: SoapClient::SoapClient(): Unable to set private key file". I'm assuming that the error comes due to the fact the the .cer file I am using only includes public key and no private key. But i'm not sure of another way to use the .cer file. If i d...

SOAP Authentication is not being sent

We are in the process of moving some software from our test environment into a production test environment. We've ran into a problem where our service can't communicate with another 3rd party service. After a bit of packet sniffing I was able to figure out that when the message is being sent on the working system the POST has an Author...

SOAP Prototype Ajax SOAPAction Header question

So I am trying to make a request and pass in a SOAP object, the problem is that it comes back fine (onSuccess) but the responseXML is not there. I used Fiddler and HTTP Client (OSX version of fiddler) and input the same requests, boom, both back with the correct response. With prototype, not so much. I tried in the header and in the p...

How to surpress strange stdout message when using Ruby and SOAP

STDOUT is getting some strange output: ignored attr: {}abstract All of my SOAP calls are working fine but this is just annyoing my cron job :) Thanks ...

Creating a mock web service from a WSDL file in Python

Hi, We are writing a client for a remote service that exposes SOAP web services and publishes a WSDL definition for those services. We don't have access to the system during testing, so we'd like to write a mock service. We're using Python for the client, so ideally we'd want to use Python for the mock server, although I suppose it's ...

main difference between SOAP and RESTful web services in java

Follow up question to this post Fow now I have a slight idea about difference of SOAP and RESTful. My question is when to use SOAP and when to use RESTful, which one is "better" looking at performance/speed or request handling? I'm implementing for the first time RESTful in java and I wanna know more about it, I've dealt with SOAP be...

How to access SOAP 1.1 fault detail from WCF client (no fault contract)

I'm accessing a SOAP 1.1 web service, and it's returning a fault. The web service does not define any fault contract in the WSDL as far as I can see. My WCF client maps the fault to a FaultException (rather than a FaultException<T>). This all makes sense. The problem is that the service is returning some useful diagnostic information...

How do I view the full SOAP response (including header) on incoming responses to a Service Reference in c#?

I have a simple c# 3.5 .Net console application that hooks up to a service reference. Everything's working fine - making calls and receiving responses, but now I've been told to look at the Soap header in the message that's coming back. I've found the .Net WebService Studio which is pretty awesome and will show both the Soap request an...

Need a java webservice tutorial and how to make a web service secure

I have a web service that is using: Java (familiar) SOAP (new to me) JBOSS (new to me) The web service is currently unsecure. My task is to make it secure using https (ssl or tsl). I am new to web services and web things in general. In the last week have gone through a tone of literature. Much of it which I think was not releva...

Check in C# whether php soap returned soapFault

Hello. I have problem with checking SoapFault response from writen in PHP Soap webservice. Responce looks like this (default "throw new SoapFault("SOAP:CLIENT", "Bad login");" <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"&gt; <SOAP-ENV:Body> <SOAP-ENV:Fault> <faultcode>SOAP:CLIENT</faultcode> ...