Win a copy of Micro Frontends in Action this week in the Server-Side JavaScript and NodeJS forum!

swapnil paranjape

Ranch Hand
+ Follow
since May 15, 2005
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by swapnil paranjape

Nischit Shetty wrote:Hi All - We were able to fix the issue. The issue turned out be a problem with TAM layer itself. It was configured incorrectly because of which it was only allowing browser based requests to pass through. We then switched to a different environment where TAM was better configured and it worked.

Just FYI, the following piece of AXIS code satisfies BASIC authentication for TAM -

Hello Nischit - Can you please tell me , what was changed on the TAM side ? Was the TAM configured in form based authentication mode and then it was changed to to Basic Authentication (BA) mode or http mode?

I am facing the same exact issue and not sure how to address it.
7 years ago
Thanks for the reply. The "Do Not Forward" setting is under Permissions on the new email . This is specific to outlook 2007. If we have to use same feature in outlook 2010 then it is required to sign up for Rights management.

When email is sent using "DoNotForward" , you cannot copy , forward or print the mail. This is useful when you send confidential data like passwords ,promotions, ratings, pins to the end users and don't want them to forward it to anyone.

I could not find any support for MS Exchange Information Rights Management settings within MAPI or SMTP. Does anyone know how to do it using vb script or .net code?

8 years ago

I am trying send the email using java mail API and want to enable the option "Do not Forward" under permission (in outlook 2007) while sending email. Can you please suggest me some pointers to do it?

I dont want the user to forward , print copy the email .

is there any attribute setting for this ? (e.g. to send mail with high priority x-priority is used)

8 years ago
Hi Everyone,

I have host address and port of the given webservice. I have written the javaclass client to send request and receive response using AXIS 1.4 (old version). i am able to get the response.

But my client wants to me use axis 2 . There is no defined wsdl. I am not sure if you can develop java client / stub etc in axis 2 without wsdl.

Can I generate the stub and java client using wsdl2java with just host and port address without wsdl file. If I form url http://hostname:port i can see the xml file.

Please help.
10 years ago
Hello Everyone,

I am new to webservices and I have a question . My clinet wants me to write a webservices client to utilise the APIs. He has not provided me WSDL but host and port and want me to send SOAP request to this HOST and PORT and I will get response back.

How should I go about writing this?Can you please provide some pointers? I know for WSDL i could have used AXIS 2 ,but here they have not provided WSDL and just Host and Port. What should I use to develop client?

10 years ago

I am using axis 2 1.2 and have used WSDL to java to generate the java client stub and have wriiten the java client . I get the following run time exception:

Can you please provide me some pointers?

org.apache.axis2.AxisFault: XML parse failed to build a document from bytes
at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.j
at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisO
at org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAx
11 years ago
is there a way to fix the code when you migrate from AXIS to AXIS 2?
11 years ago


I have built the web service java client based on the following jar files. The client is working fine .

axis 1.4.jar , axis-saaj-1.4.jar , axis-JAX-RPC 1.1 , axis-wsdl4j-1.5.1.jar ,mail-1.3.3.jar ,saaj 1.2.jar , mail-1.3.3.jar , commons-discovery1.1.jar , commons-logging 1.1.1.jar

Today we have axis2 jar deployments in the same lib folder and suddenly the java client started throwing the following error.

javax.xml.soap.SOAPException: XML parse failed to build a document from bytes
at org.apache.axis2.saaj.SOAPConnectionImpl.handleSOAPMessage(SOAPConnec

Can you please help me on this?

11 years ago

I got this sorted out.


11 years ago
I tested the SOAP envelop body generated by java client through SOAP UI and it is returning the appropriate response. Hence I think the issue is with the jar files used for the same.

I am using follwoing jar files. Please advice.


11 years ago

I have written the java client to send the request to the web service. But its throwing up the following error. I think its not even reaching to the endpoint url. Please advice.

The message with Action '' cannot be processed at the receiver, due to a ContractFilter mismatch at the EndpointDispatcher. This may be because of either a contract mismatch (mismatched Actions between sender and receiver) or a binding/security mismatch between the sender and the receiver. Check that sender and receiver have the same contract and the same binding (including security requirements, e.g. Message, Transport, None)
11 years ago
Hi Ruchita,

I am also new to web service and writing my first java client to get SOAP response.

take a look at this example as a good to start with

You need following jar files in your eclipse jar library


11 years ago
Hi ,

I have written the java client to generate the SOAP request. By default its generating the SOAP envelop

But I am getting the fault code in the response .

When I used SOAP UI to generate the request and test web service I am getting the appropriate response without any error.
So I think the envelop is causing the falut code in my Java client request since body remains the same in both the requests

This is the envelop generated by SOAP UI

How can I change the envelop ?

I am using following java code

after this I am creating SOAP message body
11 years ago
Thanks a lot Ivan. This code helped me a lot.

11 years ago

I am trying to form the SOAP request and the message body should be like this

I have written the java client to form this soap message body but I dont know how to add these owner,email,requestdescription attributes in the body. Can you please provide me some code snippets or web refrences?
This is what I have written but not able to get the exact soap body mentioned above.

11 years ago