Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / November 2007

Tip: Looking for answers? Try searching our database.

Error while accessing Java web service from a .NET application

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
psengunthar@gmail.com - 02 Nov 2007 11:43 GMT
Hi

I have a c#.net application which is trying to access a java web
service,

I get the following error:

"<SOAPAction name> Unknown SOAP Action(possibly not yet implemented)"

the same method is accessible through JAVA client code.
It is a SOAPHeaderException. We have two set of webservice,
One web service is created using .net and  another using Java. Both
have the same signature and methods.
When I am trying to access the webmethod(implemented using .NET) using
a .net windows application, I am able to retrieve the response.
However if I try to access the webmethod(implemented in java), I get
the above error.

I would appreciate if anybody could solve this issue.
Arindrajit Biswas - 05 Nov 2007 10:15 GMT
Are you using WSE.X ?? WSE expects <Action> tag as part of the header.
for example:

<soap:Envelope xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing"
..... xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
   <soap:Header>
     <wsa:Action>MyMethodName</wsa:Action>
    ......
   </soap:Header>

In .NET web service you specify this by SoapAttribute. So you have to do
similar thing java Web service to provide right header information.

Cheers.

> Hi
>
[quoted text clipped - 15 lines]
>
> I would appreciate if anybody could solve this issue.

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.