|
Thanks Aaron. I beleive it is WS-Security. I configured as ws-security in web.xml I tried Http basic also. it didn't worked. Attached WSDL and a template for SOAP request. my provide says "Authentication is conducted via credentials embedded in the SOAP header of every HTTP post" Attached sample Request. date: Mon, 30 Oct 2006 14:28:59 -0600 from: "albartell" <albartell@xxxxxxxxx> subject: Re: [WDSCI-L] Consume Password protected webservice & SSL What kind of authentication is being used? HTTP Basic? WS-Security? HTTPS client side certs? It almost sounds as if this is a WS-Security error based on the message you provided, but hard to say for sure. If possible post the WSDL (modify the address to hide true location if you cannot make it public). Also, here is a link you should look at: http://www-1.ibm.com/support/docview.wss?rs=180&uid=swg1PK05440 Aaron Bartell http://mowyourlawn.com -----Original Message----- From: wdsci-l-bounces@xxxxxxxxxxxx [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of M Sasikumar Sent: Monday, October 30, 2006 2:18 PM To: wdsci-l@xxxxxxxxxxxx Subject: [WDSCI-L] Consume Password protected webservice & SSL Hi, Does any one have any information about consuming password protected web-services? I have a web service in windows server that is protected and shoud be communicated on HTTPS. I have a WSDL and I generated JSP client using WDSCi. Ofcourse, I had to tweak the WSDL due to Array problem and use SOAP insted SOAP12. I tried web.xml configuration and I got the erro "exception: com.ibm.wsspi.channel.framework.exception.ChannelException: com.ibm.wsspi.channel.framework.exception.ChannelException: Invalid trust file name of null " and Just removed Https in the end-point and tested.. I got "exception: Error while attempting to process Charge transaction. Application Account Header not specified." please help me. -- Sasikumar Manickam
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Header> <ApplicationAccountHeader_v2 xmlns="http://services.mycompany.com/webservices"> <Name>string</Name> <Password>string</Password> <StoreNumber>string</StoreNumber> <ClientTransactionID>string</ClientTransactionID> </ApplicationAccountHeader_v2> </soap:Header> <soap:Body> <Charge xmlns="http://services.mycompany.com/webservices"> <loanAccountTyp>string</financialAidAccountType> <accountID>string</accountID> <amount>decimal</amount> <pin>string</pin> <authorizationNumber>string</authorizationNumber> <customDataInput> <CustomData field-name="string" /> <CustomData field-name="string" /> </customDataInput> </Charge> </soap:Body> </soap:Envelope>
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.