Never mind... using the *WSLocator to get an instance helps.

On 26/03/2010, at 10:06 AM, Lachlan Deck wrote:

> Hi all,
> 
> I'm trying to connect to paymentexpress (payment gateway) using generated 
> stubs from the relevant wsdl but at runtime I get the below stack trace.
> 
> I've got the client.wsdd in resources and added both JavaWebServicesClient 
> and JavaWebServicesSupport to the classpath, but am having no luck.
> 
> Any ideas?
> 
> I notice in the superclass Stub.java (for Axis) 
> _setProperty("javax.xml.rpc.service.endpoint.address", urlString) would set 
> it. So I need to just figure out why this isn't being set at runtime. Where 
> would this normally come from?
> 
> with regards,
> --
> 
> Lachlan Deck
> 
> 
> AxisFault
> faultCode: {http://xml.apache.org/axis/}Server.NoEndpoint
> faultSubcode: 
> faultString: No endpoint
> faultActor: 
> faultNode: 
> faultDetail: 
>       
> {http://xml.apache.org/axis/}exceptionName:org.apache.axis.NoEndPointException
>       {http://xml.apache.org/axis/}stackTrace:No endpoint
>       at 
> com.paymentexpress.stubs.PaymentExpressWSSoap12Stub.submitTransaction(PaymentExpressWSSoap12Stub.java:268)
>       at 
> au.com.ish.paymentexpress.ISHPaymentExpressClient.doTransaction(ISHPaymentExpressClient.java:59)
>       at 
> au.com.ish.paymentexpress.ISHPaymentExpressClient.processTransaction(ISHPaymentExpressClient.java:166)
>       at 
> com.ish.java.payment.ISHPaymentGateway.sendTransaction(ISHPaymentGateway.java:128)
>       at 
> willow.controller.TransactionProcessingController.processPaymentRequest(TransactionProcessingController.java:209)
>       at 
> willow.view.EnrolmentPaymentProcessing.performAction(EnrolmentPaymentProcessing.java:286)
>       at 
> com.webobjects.woextensions.WOLongResponsePage.run(WOLongResponsePage.java:119)
>       at 
> er.extensions.concurrency.ERXWOLongResponsePage.run(ERXWOLongResponsePage.java:33)
>       at java.lang.Thread.run(Thread.java:637)

with regards,
--

Lachlan Deck



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to