|
I am trying to use XFire as the client to access a remote
webservice and I keep getting the error below. Once this happens I am unable to
get a match on the PropertyDescriptor because the nameSpaceURIs do not match
and I get a null exception when trying to populate the setter methods of the
response object (AuthorizationResponse). Does
anyone know how to fix this? xsi:type="{java:com.achex.webservices}AuthorizationResponse"
was specified, but no corresponding Type was registered; defaulting to
{http://webservices.achex.com}AuthorizationResponse Here is my
webservice interface: @WebService(targetNamespace="java:com.achex.webservices") public interface CheckAuthorizationWebService {
@WebResult(name="createCheckAuthorizationResponse", partName="result",
targetNamespace="java:com.achex.webservices", header=false) public AuthorizationResponse
createCheckAuthorization(Credentials credentials, AuthorizationDetails
authorizationDetails, DDAAccount dDAAccount,
@WebParam(name="extendedDetails") List<ExtendedDetail>
extendedDetails) throws RemoteException; public AuthorizationResponse
createBMLAuthorization(Credentials credentials, AuthorizationDetails
authorizationDetails, BMLAccount bMLAccount, List<ExtendedDetail>
extendedDetails) throws RemoteException; public VerificationResponse
validatePaymentAccount(String requestID, Credentials credentials, DDAAccount
dDAAccount, List<ExtendedDetail> extendedDetails) throws RemoteException; public void
healthCheck(@WebParam(name="clearerID") String clearerID,
@WebParam(name="merchantID") String merchantID) throws
RemoteException; } Here is my client: Service service = new
AnnotationServiceFactory().create(CheckAuthorizationWebServiceImpl.class); CheckAuthorizationWebService client =
(CheckAuthorizationWebService) new XFireProxyFactory().create(service, url);
AuthorizationResponse resp =
client.createCheckAuthorization(credentials, authorizationdetails, ddaaccount,
extendedDetails); Chris Hodges Horry Telephone Information Services Office: (843) 369-8676 Pager: (843) 366-0016 Fax: (843) 369-8715 ********************************************************************** HTC Disclaimer: The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. **********************************************************************
|
- [xfire-user] AegisBindingProvider - no corresponding Type wa... Hodges, Chris
