soap

Header Setup in SOAP with ASP.NET 3.5 WCF

I'm pretty new to SOAP so go easy on me. I'm trying to setup a SOAP service that accepts the following header format: <soap:Header> <wsse:Security> <wsse:UsernameToken wsu:Id='SecurityToken-securityToken'> <wsse:Username>Username</wsse:Username> <wsse:Password>Password</wsse:Password> <wsu:Created>Tim...

Converting a soap message to a document using wssj

I have been supplied with a jar file that should enable me to connect to a 3rd party system. When I run the necessary class I get an error which states that the namespace for the prefix "SOAPENV" has not been declared. Using jad I have decompiled the class files to try suss out what is going on and the error seems to occur when a soap ...

What Java frameworks support RPC/Encoded messages?

I have tried several Java frameworks, but I only found out that Axis 1 supports these messages, but Axis 1 is old and not developed anymore. So I would like to know if there are any Java frameworks that support RPC/Encoded messages and are still supported and developed. ...

how to run soap using apache tomcat

please help me i am new to this field ,i downloaded activation.jar, xerces.jar, soap.jar and mail.jar after this how to run the application. if there is any example available it will be help ful to me. i am totally panic. i dont know what to do .. some one please help me ...

How do you bypass TLS/SSL cetification validation in WCF for Exchange Web Services

I wan't to bypass SSL and use regular http protocol to connect to a Exchange 2007 server however we dont want to invest in a real SSL cert and the one we use is needed for blackberry enterprise server. Is there a way to bypass this here is the exception Request failed. The underlying connection was closed: Could not establish trust r...

WCF: parameters handled in custom channel not present in generated WSDL.

I have some special parameters to all my wcf service methods that are handled inside a custom channel and are not exposed in the service method parameter list. This works fine for json/xml endpoints, but the I don't know how to use a SOAP endpoint with this setup because the generated WSDL doesn't include fields that are not in the serv...

wsgen limitations : what constructs to avoid

I'm creating a webservice using JAX-WS's (JSR 224's) @WebService and @WebMethod annotations. Although I've found the specification, I can't find the limitations I'm running into documented anywhere. Here's what I've stumbled across so far using JAX-WS 2.1.6 provided with JDK 6: You cannot use interfaces as parameters, return values, ...

Is there a way to get the raw SOAP request from within a ASP.NET WebMethod?

Example: public class Service1 : System.Web.Services.WebService { [WebMethod] public int Add(int x, int y) { string request = getRawSOAPRequest();//How could you implement this part? //.. do something with complete soap request int sum = x + y; return sum; } ...

whats the term used to describe sending the same message to a system and reciving the same response

I"m looking for a term here. in messaging systems you send a request, and it processes and sends a response. if that same request is sent it should return the same response, (but not necessarily process the details) This would be like submitting financial details twice. ...

PHP SOAP client accessing server on non-standard port

The service I'm trying to send requests to is accessible via a non-standard port - so not port 80. It is accessible locally via port 80. So I've tested the app locally and it works fine. But when I deploy it on the production server (not on the LAN), it fails. Once again for clarity: -dev server is on the LAN -SOAP server is on the LA...

Can we add a SOAP message handler to a deployed webservice

Can we add a SOAP message handler to a deployed webservice, specifically using weblogic server. i am following a tutorial here: http://www.testearly.com/2008/08/14/creating-soap-message-handlers-in-3-simple-steps-part-1/ but is it possible to attach handler at runtime, without using @HandlerChain(file = "LogMessage_handler.xml") annota...

Soap Header Problem

I have a Java Secured Webservice With Soap Header Protection Must Provide Username and Password. My Application is C# Client Application Can i call Java Secured Webservice using C# code what is the code for that ? When i connect this webservice its showing SoapHeader Element Required ..Please Give the Solution ...

Android to .NET - XML-RPC or KSoap?

We are designing an internal system that will have a .NET PC base station and many Android mobiles, communicating over WiFi. Can't decide between SOAP or XML-RPC protocol. Primary concerns are maturity, compatibility, and the minimizing of coding/integration, in that order. Which is best? Ben ...

Is there a way to alias field names in salesforce outbound messages?

I have a number of outbound messages for different fields in salesforce, the fields are nearly all identical except for the name. Right now I have different web services handling the call for each field; to ease processing on the message receiver I would like to have one service handling all the different fields. Each receiving web ser...

Problem building proxy class for SOAP web service

I'm trying to build the proxy class for a web service using the wsdl Executing this cmd wsdl [http://WSDL_URL] I'm getting Warning: This web reference does not conform to WS-I Basic Profile v1.1. R2706: A wsdl:binding in a DESCRIPTION MUST use the value of "literal" for the use attribute in all soapbind:body, soapbind:fault, soapbind...

Migrating a service from Axis to Axis2 (Java) - Which MessageReceiver should I use?

I'm in the process migrating a service from Axis to Axis2 (Java). The service responds to a simple SOAP request with a bit of "custom" XML in the body like the following: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-in...

How to do SoapClient on php

I'm new in soapclient, I have tried to do some study online and also tried coding on soap, but seem this is still not working to me, just wandering anyone here can point out and perhaps give me some example how can I actually use the soapclint to get the feedback from the following web server? POST /webservices/tempconvert.asmx HTTP/1.1...

Getting WSDL with local certificate authority

I need to connect my SOAP to service that requires to use local CA, but i don't seem to be able to find the WSDL, witch also needs the local CA. Can't PHP5's SOAP use local CA for WSDL calls? I'm using Zend Framework. Here is the code that I'm using. $soapClient = new Zend_Soap_Client("https://webservice/wsdl", array( 'local...

How to encrypt a SOAP envelope in WSDL2JAVA generated client

I have been provided with some documentation for connecting to a 3rd party system and a wsdl. The documentation says to generate the client code using WSDL2JAVA, which I have done. but now it says to encrypt the SOAP Envelope using a secret key (which I have been given) and I don't know much about encryption. Am I right in thinking W...

Python SOAP web-service client access through authenticated proxy, How?

Hi, I've been trying to write a Python client to access a SOAP webservice through our companys authenticated proxy server using the SUDS lib. The proxy uses basic username:password authentication not NTLM and I have been able to get basic downloads working through it using URLLIB2 like this: passmanager = urllib2.HTTPPasswordMgrWithDef...