Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / August 2006

Tip: Looking for answers? Try searching our database.

HELP, SOAP Axis -> .NET Service persistent connection?

Thread view: 
vic20owner - 09 Aug 2006 18:07 GMT
Hi, I 'm using axis (WSDL2Java) to consume a .NET service via SSL. The
problem is that the service requires more than one call to happen
during a single connection so that it can maintain state (user
authentication state) between calls.

For some reason sate is not being maintained with axis, and I believe
it is because it is making a seperate connection per soap call.

I am using commonsHTTPSender, and have included the wsdd in the path to
make that work.  I have also recompiled axis 1.4 to make sure that all
classes are included and have included required libs with the project.

As a test I wrote a quick .net client to connect to the service and it
works fine.

WHY can't I get axis to work with this service?  Please help, I've
tried just about everything.

Thanks
Arne Vajhøj - 11 Aug 2006 02:16 GMT
> Hi, I 'm using axis (WSDL2Java) to consume a .NET service via SSL. The
> problem is that the service requires more than one call to happen
[quoted text clipped - 13 lines]
> WHY can't I get axis to work with this service?  Please help, I've
> tried just about everything.

I think you need to maintain HTTP session between
calls for this to work.

I have some code doing that which looks like:

TestService service = new TestServiceLocator();
Test tst = service.getTestService();
(Stub)tst)._setProperty(Stub.SESSION_MAINTAIN_PROPERTY, new Boolean(true));

Try it out and see if you can get it working.

Arne


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.