« Return to Thread: "loan processing" problem: Unsupported endpoint address
Hello all,
I found the message below about the "Loan processing" example problem posted in June in Developer Forums of SDN but not answered. I have the same problem. In my case:
Application server: glassfish-v2ur2
Product Version: NetBeans IDE Dev (Build 200807040101) (6.5m1) Java: 1.5.0_14; Java HotSpot(TM) Client VM 1.5.0_14-b03 System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb)
Error : javax.xml.ws.WebServiceException: Unsupported endpoint address:
I need your help. Thanks in advance,
forest86 =================================
Fab22
Posts:1
Registered: 6/8/08 Call JBI service from web application Jun 8, 2008 4:49 PM Hi,
I have just installed the lastest Netbeans 6.1 bundle and I am trying to run the "loan processing" tutorial.
So far, the following steps have been very easy:
- Deploying LoanProcessor EJB: ok - Creating BPEL + Running LoanRequestorCompositeApplication: ok - Unit Testing composite application: ok Then instead of providing my input data through xml, I have tried to input user data from a web application.
Similar examples have been described on the web, but I cannot get the webservice call to work. Problem encountered: "unsupported endpoint address".
I can provide my projects for debugging purpose. Can anybody provide examples on this topic. The following code is used in the loanClient.jsp file:
org.netbeans.j2ee.wsdl.loanrequestor.LoanRequestorService service = new org.netbeans.j2ee.wsdl.loanrequestor.LoanRequestorService();
org.netbeans.j2ee.wsdl.loanrequestor.LoanRequestorPortType port = service.getLoanRequestorPort(); // TODO initialize WS operation arguments here org.netbeans.xml.schema.loanrequestor.ProcessApplicType requestLoanMessage = new org.netbeans.xml.schema.loanrequestor.ProcessApplicType(); requestLoanMessage.setSocialSecurityNumber(request.getParameter("ssn")); requestLoanMessage.setApplicantName(request.getParameter("name")); requestLoanMessage.setApplicantAddress(request.getParameter("address")); requestLoanMessage.setApplicantEmailAddress(request.getParameter("email")); requestLoanMessage.setApplicantAge(Integer.parseInt(request.getParameter("age"))); requestLoanMessage.setApplicantGender(request.getParameter("gender")); requestLoanMessage.setAnnualSalary(Double.parseDouble(request.getParameter("salary"))); requestLoanMessage.setAmountRequested(Double.parseDouble(request.getParameter("loanamount"))); //TODO process result here org.netbeans.xml.schema.loanrequestor.ProcessApplicRespType result = port.loanRequestorOperation(requestLoanMessage); out.println("Result = " + result.getReturn()); Thanks in advance |
« Return to Thread: "loan processing" problem: Unsupported endpoint address
| Free embeddable forum powered by Nabble | Forum Help |