Issue with calling Webservices with a Java Dynpro
Dear SDN,
While calling a 3rd party webservice via a Dynpro, I get an error while calling the WSDL File, as Service call exception; nested exception is: java.net.UnknownHostException:www.xyz123.com
Can any one throw some light on this issue?
Regards,
Anirban.
Hi Anirban,
Seems thats just a connection error....It cannot resolve the host you are calling. Check the adress of the server in the call with the server on which the webservices are deployed.
regards,
Hugo
Similar Messages
-
XML error when Crystal report calling Webservice with Rampart (ws-security)
Could you please advise me where I am doing wrong -
I have designed the report using CR 2008 following a SAP document instructions but getting error. -
1. Created a Class file and put it in the class folder -
public class PasswordHandler implements CallbackHandler { public void handle(Callback[] callbacks) throws IOException,UnsupportedCallbackException { for (int i = 0; i < callbacks.length; i++) { WSPasswordCallback pwcb = (WSPasswordCallback)callbacks<i>; pwcb.setPassword("clientPassword"); return; } } -
2. created wse_policy.xml with below content clientName com.rockalltech.action.reports.PasswordHandler -
3.Also modified CRConfig.xml with below data com.PasswordHandler -
Still I am getting Rampart error like below -
[2009-06-02 18:04:26,977,,FATAL,com.crystaldecisions.data.xml] org.apache.axis2.AxisFault: org.apache.rampart.Rampart at org.apache.axis2.deployment.URLBasedAxisConfigurator.getAxisConfiguration(URLBasedAxisConfigurator.java:77) at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:64) at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromURIs(ConfigurationContextFactory.java:190) at com.crystaldecisions.data.xml.a.b.a(Unknown Source) at com.crystaldecisions.data.xml.a.a.a(Unknown Source) at com.crystaldecisions.data.xml.f.a(Unknown Source) at com.crystaldecisions.data.xml.f.int(Unknown Source) at com.crystaldecisions.data.xml.CRDB_XMLImpl.DbExecuteQuery(Unknown Source) at com.crystaldecisions.reports.queryengine.driverImpl.xml.XMLQueryDefinition.Execute(Unknown Source) Thomas Edited by: thomasjv on Jun 2, 2009 7:15 PM Edited by: thomasjv on Jun 3, 2009 10:45 AM Edited by: thomasjv on Jun 3, 2009 10:45 AM Edited by: thomasjv on Jun 3, 2009 10:46 AMHi!
Thanks for the help:
- I give all proxy details. In HTTP and HTTPS proxy tabs too.
one interesting thing:
- We publicate the same WebService with HTTP and HTTPS prefix.
- If I create a proxy for the WS with HTTP, everything is correct and works well.
- If I create a proxy for the WS with HTTPS, gives the error written the previous posts. (And can't create the logical port with SOAMANAGER)
I compare the 2 WSDL. It is the same, except the links. (HTTP and HTTPS) all others are same.
- And why it is possible in both case (HTTP, HTTPS) to create the proxy with SE80 from the WSDL URL? (And after the logical port was failed) -
Problem with calling Webservice from Java Webdynpro
Hi,
I have a scenario where I need to call a Webservice through my Webdynpro application. I need to pass few parameters(of type string) and the Webservice is suppose to retrun a few records based on the input values.
When I run the webservice directly using the browser, the output is in XML format.
When I create a model for the webservice in webdynpro, the return value is a Node element of type java.lang.Object. From webdynpro, I am successfully able to make a call to the Webservice (as there is no exception with model execute command), but the return value is always null. I am not sure if the webservice is not returning any data or if I am not reading the correct context element. There is no documentation available for the webservice either.
Can anyone tell me what is that I am missing. Is it not possible for Webdynpro to call a webservice which can return only XML data?
Any help on this issue would be greatly appreciated.
Thanks,
SudheerHi Sudheer,
You can refer to wiki link (& other links available at the end in this)
https://www.sdn.sap.com/irj/scn/wiki?path=/display/wdjava/faq-Models-AdaptiveWebService
Kind Regards,
Nitin -
Call Webservice with XI SOAP Adapter
Hi there,
I can't find sufficient information in the other posting about my scenario therefore I start a new again about XI and webservice.
These parts are working:
file adapter to XI and the SOAP Adapter is calling the Webservice (in the logfile I see the request from the XI)
These parts aren't working:
the response from the webservice
Now my question:
Is it necessarily to create a new Message Interface with communication channel from the webservice to XI or is it sufficient with an synchrony Message Interface and can I take a look of the response in the XI_Monitor.
Where I can find information about an similarly scenario?
THX for helping comments
Kind Regards JohannHi Johann,
As others have adviced you dont need a seperate communication channel for the response message. Declaring your message interface as synch is enough.
Also can you check <b>SXMB_MONI</b> for the request and the response messages. Just use transaction SXMB_MONI. and see if you get checked flags(successfull) or a red flag (error) for your messages.
But Could you pls tell me if your are using the BPM for your scenario??
If you are not getting response from the web service it could aalso be that the WEB Service is not working properly.
First try to access the web link for the website using IE.
Pls read the following for your reference:
<b>In the SENDER SOAP ADAPTER, you will need to put the URL provided by the company and the SOAP ACTION to invoke a particular WEB METHOD. You will also need to provide URL Authorization, Proxy settings.
make sure you are using the right SOAP ACTION.</b>
Hope this helps or revert back.
Regards,
Ashish -
Error while calling webservice with SOAP Receiver
Hi Experts,
When we run the report on the ECC 6.0 server we call the web service which is configured as a receiver SOAP Adapter, we are getting the following error:
XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: Not enough message parts were received for the operation
Can somebody throw a light on this error and how to overcome it.
Thanking You
With Best Regards
Suk4023>Can somebody throw a light on this error and how to overcome it.
Import WSDL and Use soapui or xmlspy and try to send the request and see the response. Make sure your WSDL URL is valid one too. After testing update more informaton on this. -
Integrate a BPM with a Webservice of SAP XI.
Hi experts,
We want to integrate a BPM with a Websevice published in SAP XI.
The BPM sends messages synchronous (abstract interface) to a Business Service that receives a message synchronous (inbound interface).
For the integration of these services is necessary to set up a Receiver Agreement with a Communication Channel of type SOAP Receiver.
My questions are:
Why should the communication takes place between SAP XI I have to set up a channel SOAP?
Is there any way to send messages from a BPM to a service SAP XI (Webservice / Interface) in an efficient manner?
Thanks,
Jose.To deploy the wsdl file in XI,
You can connect to XI server by using the End Point URL as
The SOAP Sender uses the XI Server URL as below
http://<server>:<port>/XISOAPAdapter/MessageServlet?channel=<party>:<service>:<channel>
Service & channel indicates the Sender SOAP adapter in XI to be used..and will direct to integration server.
Refer
call Webservice with XI SOAP Adapter
How To Set Up a Web-Service-Related Scenario with SAP XI
https://websmp207.sap-ag.de/~form/sapnet?SHORTKEY=01100035870000582377&
Invoke Webservices using SAPXI
SOAP Sender Steps
SOAP Sender Steps
Edited by: parvathy sriraman on Sep 19, 2008 9:42 AM -
The Web Dynpro application was called up with the wrong URL parameters
Hi all,
I am using the systems below:
ERP STACK :16
EHP : 4
EHP SP Stack :4
EA-HR * : 604(SP12)
SAP-HR * :604(SP12)
XSS JAVA components : SAP ESS 603 SP05
SAP MSS 600 SP16
PCUI_GP 603 SP05
Business Package : BP ERP05 ESS 1.41 SP04
BP ERP05 MSS 1.41 SP04
BP ERP05 COMMON PARTS 1.41 SP04
I am getting below error after clicking on the appraisal document:
App. Called Up Incorrectly
The Web Dynpro application was called up with the wrong URL parameters.
Note
Enter the URL parameters and their use.
You can find more information on the functions that you can perform in the catalog for appraisal templates in the Implementation Guide (IMG) for Objective Setting and Appraisals under Edit Forms.
I already applied the below notes also:
1468466 Performance Management Launchpad Configuration
1463821 Performance Management Portal Configuration
1416756 OBN Configuration in Performance Management
1408243 Configuration for object-based navigation
Plz advise me??
Thanks,
Anumitcan you paste the exact error. also you can take a HTTP trace and see which resourse or UWL is being launched!
-
Issue with displaying ADOBE forms using ABAP dynpro
Hi all,
We are trying to display the adobe form in the portal using ABAP dynpro. but as i test the application in R/3 it throws the dump in ST22. if i see that dump it says Uncaught exception in ADS, forms are not interactive, data can be provided on interactive forms only. But if we try the same aplication using Java dynpro it runs successfully.
What can be the issue, is there any problem with ADS configuration.
Its urgent. Please provide some inputs.
Thanks and RegardsThanks Abhi,
I checked displayType it is already native and form type also ZCI. still there is same problem
In st22, it shows exception as
Error analysis
WebDynpro Exception:
The cause of the exception was:
ADS: com.adobe.ProcessingException: PDF is not interactive. Data can only be
imported into interactive forms
thanks -
Call a Webservice with SAML securty in PI 7.0
Hi experts,
I need to call a Webservice with SAML security from PI 7.0, Is It possible? or only It is possible with PI 7.1?
Thanks in advance,
Jose ManuelHi Jose,
Let me answer your questuion first :
No, using PI 7.0 I dont think its posible..
Below is a brief overview on SAML.
SAML: It stands for Security Assertion Markup Language, it is an XML standard which is used to exchange security information between a service provider and an identity provider.
Why we need it ???
We have a concept called Principal Propagation in PI 7.1, Principal Propagation allows to securely pass the identity of a user from a sender application to a receiver application. There are various adapters and protocols which support the Principal Propagation and one protocol amongst them is the Webservice Reliable Messaging Protocol or WS-RM. Principal Propagation solution for WS-RM protocol is based on SAML and uses the SAML assertions.
There are some video recordings available for configuration and you can view the same as below,
Configure a Trust Relationship between Sender and Integration Server: Exchange sender's digital certificate between sender and Integration Server.
Configure Trusted Issuer: Map user in the Integration Server, and specify issuer. Default issuer is the sender's system ID, default attester is the sender's certificate.
Configure Sender Agreement and Sender Communication Channel: In Integration Directory, select SAML Sender Vouches Assertion as authentication method.
Regards,
Divya -
Issue with Oracle.sql.NUMBER in Java Stored Procedure
When we try to make a call to the Oracle.sql.NUMBER(String) inside a java stored procedure and pass values from '01' to '09', it throws java.lang.StringIndexOutOfBoundsException: String index out of range: 3
We use Oracle 9.2.0.6 - JServer Release 9.2.0.6.0.
It works fine for other values. Please find below the code used for simulating the issue outside the application. Thanks.
create or replace and compile java source named testNumber as
import oracle.sql.NUMBER;
import java.sql.SQLException;
public class TestNumber
public static String convertNumber(String parm) {
NUMBER nTest;
try {
nTest = new NUMBER(parm);
return "TRUE";
}catch (SQLException sqle) {
return "FALSE";
create or replace function test_number (p_str in varchar2) return varchar2 as
language Java name 'TestNumber.convertNumber(java.lang.String) return
java.lang.String';
select test_number('05') from dual; - Throws exception ORA-29532: Java call terminated by uncaught Java exception: java.lang.StringIndexOutOfBoundsException: String index out of range: 3
select test_number('5') from dual; - Works fine
select test_number('010') from dual; - Works fineSiva,
I'm only guessing, but it could be an Oracle bug, in which case I suggest checking with Oracle Support.
(You do have a support contract, don't you? ;-)
Did you try compiling and running your java class "TestNumber" outside the database?
Class "oracle.sql.NUMBER" should be in Oracle's JDBC driver, I believe.
Good Luck,
Avi. -
Calling RFC with webdynpro java (in NetWeaver Developer studio)
Calling RFC with webdynpro java (in NetWeaver Developer studio)
Hi,
I want to call only one parameter RFC with webdynpro.
Flight example is very complex.
I want to push a button and pass parameter to RFC input and call RFC.
After execution some message must appaer on the screen.
Is there a step by step .pdf?
Thanks.Hello Cemil,
There's a seperate Web Dynpro forum for such posts, you should take a look there.
Nonetheless, the classic tutorial is the FlightList. If I was you, I would make sure to do this tutorial step-by-step as it should give you the fundamentals for understanding aRFC. On top of that, it's most likely already available to you on your SAP system...
Here's the link:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a00f7103-6790-2a10-ac9c-fcac7c5b18a3
Cheers,
Hermann -
Call secure RestFul WebService with basic authorization via https
Hi,
is there a way to call a secure RestFul WebService with basic authorization via https from APEX?
Database: Oracle 11g XE
APEX: 4.2.1
I have a solution by calling the WebService from Java which was called from the database via scheduled job (execute).
As my hosting partner does not support Java I am looking for another option.
Regards
MarkusHi,
I think its not possible, in this link you can find in more detail why.
Its related with the use of wallets to acess https requests.
http://www.apexninjas.com/blog/2011/06/https-access-with-utl_http-on-oracle-xe-has-anyone-managed-to-do-this/
Edit: Because you are using Oracle XE
Edited by: carlos.pereira on Jan 23, 2013 6:15 PM -
Implementing a Webservice with AXIS, which calls CORBA objects
Hi @all!
First my aim is it to invoke a Webservice by a Client. As toolkit for developing this Webservice I use AXIS 1.0. This Webservice in turn should establish a CORBA connection to a third application.
A direct access to the CORBA objects without the AXIS Webservice works fine. The Webservice without the Corba access is also running errorfree.
When trying to implement a Webservice with AXIS, which calls CORBA objects following fault was generated:
"internal Server Error(500)".
Are there known problems with AXIS in conjunction with CORBA?Okay here's the error log file:
1000 of lines, which aren't very helpful for me.
As ORB I use JacORB.
AxisFault
faultCode: {http://xml.apache.org/axis/}HTTP
faultString: (500)Internal Server Error
faultActor: null
faultDetail:
null: return code: 500
<html><head><title>Apache Tomcat/4.1.18 - Error report</title><STYLE><!--H1{font-family : sans-serif,Arial,Tahoma;color : white;background-color : #0086b2;} H3{font-family : sans-serif,Arial,Tahoma;color : white;background-color : #0086b2;} BODY{font-family : sans-serif,Arial,Tahoma;color : black;background-color : white;} B{color : white;background-color : #0086b2;} HR{color : #0086b2;} --></STYLE> </head><body><h1>HTTP Status 500 - </h1><HR size="1" noshade><p><b>type</b> Exception report</p><p><b>message</b> <u></u></p><p><b>description</b> <u>The server encountered an internal error () that prevented it from fulfilling this request.</u></p><p><b>exception</b> <pre>javax.servlet.ServletException: Servlet execution threw an exception
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:432)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:386)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:530)
at java.lang.Thread.run(Thread.java:484)
</pre></p><p><b>root cause</b> <pre>java.lang.NoClassDefFoundError: org/omg/PortableServer/POAOperations
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:195)
at org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:187)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:171)
at org.apache.axis.utils.ClassUtils.forName(ClassUtils.java:154)
at org.apache.axis.utils.cache.ClassCache.lookup(ClassCache.java:122)
at org.apache.axis.providers.java.JavaProvider.getServiceClass(JavaProvider.java:502)
at org.apache.axis.providers.java.JavaProvider.initServiceDesc(JavaProvider.java:535)
at org.apache.axis.handlers.soap.SOAPService.getInitializedServiceDesc(SOAPService.java:322)
at org.apache.axis.deployment.wsdd.WSDDService.makeNewInstance(WSDDService.java:477)
at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:312)
at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:298)
at org.apache.axis.deployment.wsdd.WSDDDeployment.getServiceByNamespaceURI(WSDDDeployment.java:503)
at org.apache.axis.configuration.FileProvider.getServiceByNamespaceURI(FileProvider.java:273)
at org.apache.axis.MessageContext.getPossibleOperationsByQName(MessageContext.java:226)
at org.apache.axis.message.BodyBuilder.onStartChild(BodyBuilder.java:150)
at org.apache.axis.encoding.DeserializationContextImpl.startElement(DeserializationContextImpl.java:893)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:459)
at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:221)
at org.apache.xerces.impl.XMLNamespaceBinder.handleStartElement(XMLNamespaceBinder.java:874)
at org.apache.xerces.impl.XMLNamespaceBinder.emptyElement(XMLNamespaceBinder.java:591)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:747)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1477)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:329)
at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:525)
at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:581)
at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1175)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:394)
at org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:232)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:546)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:377)
at org.apache.axis.server.AxisServer.invoke(AxisServer.java:304)
at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:701)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:335)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:432)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:386)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:530)
at java.lang.Thread.run(Thread.java:484)
</pre></p><HR size="1" noshade><h3>Apache Tomcat/4.1.18</h3></body></html>
(500)Internal Server Error
at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:630)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:131)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:156)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:126)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:182)
at org.apache.axis.client.Call.invokeEngine(Call.java:2113)
at org.apache.axis.client.Call.invoke(Call.java:2102)
at org.apache.axis.client.Call.invoke(Call.java:1851)
at org.apache.axis.client.Call.invoke(Call.java:1777)
at org.apache.axis.client.Call.invoke(Call.java:1315)
at CsbClient.main(CsbClient.java:82)
[INFO] enterprise - -Mapping Exception to AxisFault <(500)Internal Server Error>
(WSDDDeployableItem.java:312)
at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:298)
at org.apache.axis.deployment.wsdd.WSDDDeployment.getServiceByNamespaceURI(WSDDDeployment.java:503)
at org.apache.axis.configuration.FileProvider.getServiceByNamespaceURI(FileProvider.java:273)
at org.apache.axis.MessageContext.getPossibleOperationsByQName(MessageContext.java:226)
at org.apache.axis.message.BodyBuilder.onStartChild(BodyBuilder.java:150)
at org.apache.axis.encoding.DeserializationContextImpl.startElement(DeserializationContextImpl.java:893)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:459)
at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:221)
at org.apache.xerces.impl.XMLNamespaceBinder.handleStartElement(XMLNamespaceBinder.java:874)
at org.apache.xerces.impl.XMLNamespaceBinder.emptyElement(XMLNamespaceBinder.java:591)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:747)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1477)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:329)
at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:525)
at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:581)
at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1175)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:394)
at org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:232)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:546)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:377)
at org.apache.axis.server.AxisServer.invoke(AxisServer.java:304)
at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:701)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:335)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:432)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:386)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:530)
at java.lang.Thread.run(Thread.java:484)
</pre></p><HR size="1" noshade><h3>Apache Tomcat/4.1.18</h3></body></html>
(500)Internal Server Error
at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:630)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:131)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:156)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:126)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:182)
at org.apache.axis.client.Call.invokeEngine(Call.java:2113)
at org.apache.axis.client.Call.invoke(Call.java:2102)
at org.apache.axis.client.Call.invoke(Call.java:1851)
at org.apache.axis.client.Call.invoke(Call.java:1777)
at org.apache.axis.client.Call.invoke(Call.java:1315)
at CsbClient.main(CsbClient.java:82)
Exception in thread "main" -
Issue with calling custom function in merge command -10g
Hi,
I have ran into issue while calling a custom function in merge command.
It throws error 'Invalid identifier'. Oracle doesnt understand that it is a function and take the function name as column name.
Since no such collumn name exists, it throws 'Invalid identifier'.
Interestingly, merge command works fine when it has a oracle function (replace, decode).
The oracle version is 10.2.0.3
It is very urgent.
Any pointers will be helpful.
Regards,
RaviI don't have privileges to create dblink, but this is working for me.
So, i don't think function can be a issue here.
satyaki>
satyaki>select * from v$version;
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
PL/SQL Release 10.2.0.1.0 - Production
CORE 10.2.0.1.0 Production
TNS for Linux: Version 10.2.0.1.0 - Production
NLSRTL Version 10.2.0.1.0 - Production
Elapsed: 00:00:01.02
satyaki>
satyaki>
satyaki>create table hist_tab
2 as
3 select * from emp
4 where sal between 2000 and 4000;
Table created.
Elapsed: 00:00:00.09
satyaki>
satyaki>select * from hist_tab;
EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO JOB1 DOB
7844 TURNER SALESMAN 7698 08-SEP-81 2178 0 30 SALESMAN
Elapsed: 00:00:00.00
satyaki>
satyaki>
satyaki>update hist_tab
2 set mgr = 7794;
1 row updated.
Elapsed: 00:00:00.01
satyaki>
satyaki>commit;
Commit complete.
Elapsed: 00:00:00.00
satyaki>
satyaki>select * from hist_tab;
EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO JOB1 DOB
7844 TURNER SALESMAN 7794 08-SEP-81 2178 0 30 SALESMAN
Elapsed: 00:00:00.00
satyaki>
satyaki>
satyaki>
satyaki>
satyaki>create table tran_tab
2 as
3 select * from emp
4 where sal between 2000 and 7000;
Table created.
Elapsed: 00:00:00.00
satyaki>
satyaki>select * from tran_tab;
EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO JOB1 DOB
7844 TURNER SALESMAN 7698 08-SEP-81 2178 0 30 SALESMAN
7902 FORD ANALYST 7566 03-DEC-81 5270.76 20 ANALYST
Elapsed: 00:00:00.00
satyaki>
satyaki>ed
Wrote file afiedt.buf
1 create or replace function fun(c_in number)
2 return number
3 is
4 c_out number(4);
5 begin
6 if c_in < 7900 then
7 c_out := 0;
8 else
9 c_out := 1;
10 end if;
11 return c_out;
12* end;
13 /
Function created.
Elapsed: 00:00:01.00
satyaki>
satyaki>merge into hist_tab o
2 using (
3 select empno,
4 ename,
5 job,
6 mgr,
7 hiredate,
8 sal,
9 comm,
10 deptno,
11 job1,
12 dob
13 from (
14 select k.*,
15 rank() over(order by fun(k.empno)) rn
16 from tran_tab k
17 )
18 where rn = 1
19 ) n
20 on ( o.empno = n.empno)
21 when matched then
22 update set o.ename = n.ename,
23 o.job = n.job,
24 o.mgr = n.mgr,
25 o.hiredate = n.hiredate,
26 o.sal = n.sal,
27 o.comm = n.comm,
28 o.deptno = n.deptno,
29 o.job1 = n.job1,
30 o.dob = n.dob
31 when not matched then
32 insert(
33 o.empno,
34 o.ename,
35 o.job,
36 o.mgr,
37 o.hiredate,
38 o.sal,
39 o.comm,
40 o.deptno,
41 o.job1,
42 o.dob
43 )
44 values(
45 n.empno,
46 n.ename,
47 n.job,
48 n.mgr,
49 n.hiredate,
50 n.sal,
51 n.comm,
52 n.deptno,
53 n.job1,
54 n.dob
55 );
1 row merged.
Elapsed: 00:00:00.03
satyaki>
satyaki>select * from hist_tab;
EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO JOB1 DOB
7844 TURNER SALESMAN 7698 08-SEP-81 2178 0 30 SALESMAN
Elapsed: 00:00:00.00
satyaki>You can check the final output with old output. It is working perfectly - i guess.
Regards.
Satyaki De. -
Calling a REST webservice with pl/sql and parse XML
Hi
I hope someone is able to help me with this task. I'm newbie with Oracle APEX, have not developed advanced applications yet. A few days ago I installed one of the package application with customer and order. I want to integrate with online shopping with Rest service using PL / SQL. NETS is a provider of online payment systems.
http://www.betalingsterminal.no/Netthandel-forside/Teknisk-veiledning/Communication/REST/
There are four steps you must go through to execute the payment. where it is retunert xml files containing infomation to be used further.
Step 1 - Register payment
Webshop Performs Register:
https://epayment-test.bbs.no/Netaxept/Register.aspx?MerchantId=9999997&token=secret&orderNumber=10011&amount=200&CurrencyCode=NOK
&redirectUrl=http://webshop/RegisterReply.asp
Reply from payment provider:
<? Xml version = "1.0"?>
<RegisterResponse Xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<TransactionId> B127f98b77f741fca6bb49981ee6e846 </ TransactionId>
</ Register Response>
Step 2 - Present Web form to customer
Webshop's customer submit web form:
https://epayment-test.bbs.no/Terminal/default.aspx?merchantId=9999997&transactionId=b127f98b77f741fca6bb49981ee6e846
Step 3 - "Redirect" customer back to merchant
Payment provider send URL to redirect webshop's customer:
http://webshop/RegisterReply.asp?transactionId=b127f98b77f741fca6bb49981ee6e846&responseCode=OK
Step 4 - Process payment
Webshop Performs Process (AUTH):
https://epayment-test.bbs.no/Netaxept/Process.aspx?merchantId=9999997&token=&transactionId=b127f98b77f741fca6bb49981ee6e846&operation=AUTH
Reply from payment provider:
<? Xml version = "1.0"?>
<Process Response xmlns: XSi = "http://www.w3.org/2001/XMLSchema-instance" xmlns: xsd = "http://www.w3.org/2001/XMLSchema">
<Operation> AUTH </ Operation>
<ResponseCode> OK </ Response Code>
<AuthorizationId> 064392 </ AuthorizationId>
<TransactionId> B127f98b77f741fca6bb49981ee6e846 </ TransactionId>
<ExecutionTime> 2009-12-16T11: 17:54.633125 +01:00 </ ExecutionTime>
<MerchantId> 9999997 </ MerchantId>
</ Process Response>
Webshop Performs Process (CAPTURE)
https://epayment-test.bbs.no/Netaxept/Process.aspx?merchantId=9999997&token=&transactionId=b127f98b77f741fca6bb49981ee6e846
&transactionAmount=200&operation=CAPTURE
Reply from payment provider:
<? Xml version = "1.0"?>
<ProcessResponse Xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Operation> CAPTURE </ Operation>
<ResponseCode> OK </ Response Code>
<TransactionId> B127f98b77f741fca6bb49981ee6e846 </ TransactionId>
<ExecutionTime> 2009-12-16T11: 40:57.601875 +01:00 </ ExecutionTime>
<MerchantId> 9999997 </ MerchantId>
</ Process Response>
I really appreciate if anyone can help me with ThisHi,
Is there any particular reason you want to call a form through provider API?
Because when you call a from through
wwa_api_provider.show_portlet the issue #1 is true (you cannot pass parameteres to a form) and the issue #2 could be resoled by supplying a porltet_record.p_page_url to the current page URL.
However, there is a form-specific PLSQL APIs to call a form and pass parameters to that from which is describe in our FAQ list:
http://otn.oracle.com/products/iportal/htdocs/portal_faq.htm#BuildingApplications
Please see following topics:
"How do I call a form in insert mode and pass it default values?"
and
"How do I call a form and pass it a query condition to be automatically executed?"
Thanks,
Dmitry
Maybe you are looking for
-
I I can no longer access my purchased TV shows that are in the Cloud
After installing ITunes 11.1, I can no longer access my purchased TV shows that are in the Cloud. I have opened Preferences, went to store to see if the box is checked for displaying items that are in the cloud and this is in order. Still can't acces
-
While installing iOS 5.0.1 the firmware upgrade hung. I waited for over 3 hours and it still was not done. The iPad2 still shows a status bar of about 98%. I am unable to reset it. It is locked up. Any help resolving this is appreciated. Thanks.
-
If i want to download a movie i place the url in cocoawget or what seems to happen in firefox browser is that the quicktime symbol appears in the broswer and the movie downloads then plays in the browswer. Once i close the broswer where is the movie
-
Dear all, is there any way to have multiple colors in a single plot ? here's a brief of what i am trying to do: a graph is continuously running with a value '0'. when the stimulus is given, the value '1' is shown on the graph(just one value when the
-
Should i disable system accounts?
Hallo to everyone! I am trying to harden solaris 10 x86 and I read a recommendation (from CIS) to lock system accounts (bin, nuucp, smmsp, listen, gdm, webservd, nobody, noaccess, nobody4). Why should i do that? Isn't it risky for the proper operatio