function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
NJDeveloper019NJDeveloper019 

Cannot find SoapBindingStub - driving me crazy

I downloaded the enterprise.wsdl and using axis tools managed to get the wsdl2java tool working and built the java stubs for the wsdl.  I'm trying to do a simple login into SalesForce and grab some data from the contact object, an extremely simple app.  I cannot find the SoapBindingStub and I am completely stuck and its making me so mad.  Below is a list of the java classes that were created as a result of using axis tools.

 

InvalidFieldFault.java

InvalidIdFault.java

InvalidNewPasswordFault.java

InvalidQueryLocatorFault.java

InvalidSObjectFault.java

LoginFault.java

MalformedQueryFault.java

MalformedSearchFault.java

SforceServiceCallbackHandler.java

SforceServiceStub.java

UnexpectedErrorFault.java

 

I read somewhere that SoapBindingStuf is found is SforceServiceStub.java but I cannot find it anywhere.  I am really stuck here and any help that anybody could give, I would really appreciate it.  I am kinda new to java as I'm mainly a .NET guy and this is bothering me.

 

Ralph

 

LosintikfosLosintikfos
What version of axis are you using?
NJDeveloper019NJDeveloper019
I am using axis2-1.5.1.
SuperfellSuperfell
Axis2 has a completely different programming model than Axis1, you need some axis2 specific samples to work from, the Axis1 ones will be useless (or switch back to axis1)
Kevin WrightKevin Wright

Trying to find SoapBindingStub is also driving me nuts.... I am using Axis 1.4 If anybody can put me out of my misery :)