Venabili, thank you for the suggestions. I am providing more info here...I added loginId and transactionKey variables to an AbstractCreditCardRequest class. The values for the loginId and transactionKey were hardcoded in the file WEB-INF/spring-ws-servlet.
Then I added loginId and transactionKey to the following files:
- WEB-INF/creditcard.wsdl
- WEB-INF/CreditCardServices
- WEB-INF/classes/mapping.xm
Finally, note that I am running this using Tomcat. I made the changes in Eclipse then created a new war file, deployed the war file in Tomcat and then ran the code.
Do you have any suggestions? Do you see something wrong with the changes I made?
Main Topics
Browse All Topics





by: VenabiliPosted on 2008-08-20 at 06:42:27ID: 22269299
Some code might help - my guess is that you try to add to a node that is not an Element node. If not (or if you cannot verify), post yout code... Also check the mapping file, are they added where they are supposed to be?
And as it is Spring - in every case I had tried to add anything in some generated code, I end up with a huge mess... usually manage to get myself out of it but sometimes things just get wrong. So if it is generated, use the same generator to add/remove fields... you will save yourself some nerves.