on 12-12-2007 7:59 AM
hi, i just finish the instruction of the tutorial of the pdfObject but there is some problem when i try to <b>Generate PDF</b> and <b>Get XML</b>
when i click on the Generate PDF it promot and display this message.
<b>Service call exception; nested exception is: java.net.ConnectException: Connection refused: connect
Error during generation of Travel Request Form</b>
when i click on the Get XML
it display this message
<b>Service call exception; nested exception is: java.net.ConnectException: Connection refused: connect</b>
may i know what happen to my code and where should i start to debug as i dont have any ideas.
Regards
Jia Jun
Hi jia,
Connection refused means you connected to a server (the proxy server) but there was no server listening on the port you used.
Check you have the right host and port number.
Go to Window->preference->SAP j2ee Engine
please give ur server configuration...
Regards,
P.Manivannan.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jia,
Check this links.
/people/community.user/blog/2007/01/22/creating-your-first-application-using-interactive-forms
SAP Note : <a href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bw_bex/~form/handler">934276</a>
<a href="https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=807000&nlang=E&smpsrv=https%3a%2f%2fwebsmp103%2esap-ag%2ede">807000</a>
Regards,
Mithu
hi Mithu,
for me i think my j2EE engine is properly configure. by try out the ADS test
anyway this is what i get when i try to the pdfObjectWS with the method creadtPdf... but then it appear this errors
<b>Exception in method createPdf.</b>
under Request box below is the information
POST /PdfObjectWS/Config1?style=document HTTP/1.1
Host: 172.16.3.12:50100
Content-Type: text/xml; charset=UTF-8
Connection: close
Cookie: <value is hidden>
Authorization: <value is hidden>
Content-Length: 633
SOAPAction: ""
<?xml version="1.0" encoding="UTF-8" ?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema"><SOAP-ENV:Body><pns:createPdf xmlns:pns='urn:PdfObjectWSVi'><pns:dataSource>C:\Documents and Settings\Admin\Documents\SAP\workspace\TutWD_PdfObject_Init\data.xml</pns:dataSource><pns:pdfTarget>C:\Documents and Settings\Admin\Documents\SAP\workspace\TutWD_PdfObject_Init\result1.pdf</pns:pdfTarget><pns:userName>Administrator</pns:userName><pns:locale>EN</pns:locale></pns:createPdf></SOAP-ENV:Body></SOAP-ENV:Envelope>
under the response box, this is what i show me..
HTTP/1.1 500 Internal Server Error
Connection: close
Server: SAP J2EE Engine/7.00
Content-Type: text/xml; charset=UTF-8
Date: Fri, 14 Dec 2007 05:51:13 GMT
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode>SOAP-ENV:Client</faultcode><faultstring>Exception in method createPdf.</faultstring><detail><ns1:com.sap.engine.services.ejb.exceptions.BaseEJBException xmlns:ns1='http://sap-j2ee-engine/client-runtime-error'>Exception in method createPdf.</ns1:com.sap.engine.services.ejb.exceptions.BaseEJBException></detail></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>
so with this result what should i do next? should i start do another testing on webservice or try to debug it....
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.