Need StackTrace For Single request till Response
As we all know in Jdevloper if we want to see the StackTrace we need to put a dubug point and then we can see the StackTrace for that request.
but i need a StackTrace for Every single HTTP Request till Response that means no need to put break point.
is there any facility in Jdeveloper so that we can Track this. if not
Can we develop a Extension for this???
Needed Help How to do that?
Thanks
Vinod
Just an idea: you implement your own HttpRequest class where you print a stack trace at the point you like without the need of a breakpoint.
Timo
Similar Messages
-
Use Sign.xml and Encrypt.xml for both request AND response within WSDL?
Hi,
ALSB: 2.6
I was wandering if it's possible to use abstract outof the box WS-Policy file within WSDL file to specify encryption
(Encrypt.xml) and digital signature(Sign.xml) with X509 for both request and response???
So far, it only works for either request or response BUT not both. i.e. within WSDL file
<!-- following WSDL works for encrypting and signing request with X509 in test console -->.....
<wsdl:binding name="DexService2Soap" type="tns:DexService2Soap">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
<wsdl:operation name="Message">
<soap:operation soapAction="urn:moe:dex:dexservice:2.0.0/Message" style="document" />
<wsdl:input>
<!-- WS-Policy file applied here -->
<wsp:Policy>
<wsp:PolicyReference URI="policy:Sign.xml"/>
<wsp:PolicyReference URI="policy:Encrypt.xml"/>
</wsp:Policy>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
Or
<!-- following WSDL works for encrypting and signing response with X509 in test console -->
<wsdl:binding name="DexService2Soap" type="tns:DexService2Soap">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
<wsdl:operation name="Message">
<soap:operation soapAction="urn:moe:dex:dexservice:2.0.0/Message" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<!-- WS-Policy file applied here -->
<wsp:Policy>
<wsp:PolicyReference URI="policy:Sign.xml"/>
<wsp:PolicyReference URI="policy:Encrypt.xml"/>
</wsp:Policy>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
But not both
<!-- following WSDL doesn't work for encrypting and signing both response and request with X509 in test console -->
<wsdl:binding name="DexService2Soap" type="tns:DexService2Soap">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
<wsdl:operation name="Message">
<soap:operation soapAction="urn:moe:dex:dexservice:2.0.0/Message" style="document" />
<wsdl:input>
<!-- WS-Policy file applied here -->
<wsp:Policy>
<wsp:PolicyReference URI="policy:Sign.xml"/>
<wsp:PolicyReference URI="policy:Encrypt.xml"/>
</wsp:Policy>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<!-- WS-Policy file applied here -->
<wsp:Policy>
<wsp:PolicyReference URI="policy:Sign.xml"/>
<wsp:PolicyReference URI="policy:Encrypt.xml"/>
</wsp:Policy>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
... Instead, I got error message like
<15/01/2008 10:15:04 AM NZDT> <Error> <ALSB Security> <BEA-387023> <An error ocurred during web service security inbound response processing [error-code: Fault
, message-id: 3917705281899426819-4368b1eb.117762cff6e.-7fdb, proxy: DexServiceX509-Stub/Proxy Services/DexServiceX509-ProxyService, operation: Message]
--- Error message:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header/><soapenv:Body><soapenv:Fault><faultcode>soapenv:Server</faultcode>
<faultstring>Failed to get token for tokenType: http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3</faultstring></soapenv:Fa
ult></soapenv:Body></soapenv:Envelope>
weblogic.xml.crypto.wss.WSSecurityException: Failed to get token for tokenType: http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#
X509v3
at weblogic.xml.crypto.wss.SecurityBuilderImpl.addEncryption(SecurityBuilderImpl.java:308)
at weblogic.wsee.security.wss.SecurityPolicyDriver.processConfidentiality(SecurityPolicyDriver.java:280)
at weblogic.wsee.security.wss.SecurityPolicyDriver.processOutbound(SecurityPolicyDriver.java:75)
at weblogic.wsee.security.wss.SecurityPolicyDriver.processOutbound(SecurityPolicyDriver.java:64)
at weblogic.wsee.security.WssServerHandler.processOutbound(WssServerHandler.java:86)
Truncated. see log file for complete stacktrace
>
<15/01/2008 10:15:24 AM NZDT> <Error> <com.bea.weblogic.kernel> <000000> <Failed to build CertPath
java.security.cert.CertPathBuilderException: [Security:090603]The certificate chain is invalid because it could not be completed. The trusted CAs did not inclu
de CN=x509,OU=x509,O=x509,L=Wellington,ST=Wellington,C=NZ.
at weblogic.security.providers.pk.WebLogicCertPathProviderRuntimeImpl$JDKCertPathBuilder.engineBuild(WebLogicCertPathProviderRuntimeImpl.java:669)
at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:194)
at com.bea.common.security.internal.legacy.service.CertPathBuilderImpl$CertPathBuilderProviderImpl.build(CertPathBuilderImpl.java:67)
at com.bea.common.security.internal.service.CertPathBuilderServiceImpl.build(CertPathBuilderServiceImpl.java:86)
at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
Truncated. see log file for complete stacktrace
>
<15/01/2008 10:15:24 AM NZDT> <Error> <ALSB Security> <BEA-387022> <An error ocurred during web service security inbound request processing [error-code: Fault,
message-id: 3917705281899426819-4368b1eb.117762cff6e.-7fd8, proxy: DexServiceX509-Stub/Proxy Services/DexServiceX509-ProxyService, operation: null]
--- Error message:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header/><soapenv:Body><soapenv:Fault xmlns:wsse="http://docs.oasis-open.or
g/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"><faultcode>wsse:InvalidSecurityToken</faultcode><faultstring>Security token failed to validate. weblo
gic.xml.crypto.wss.SecurityTokenValidateResult@3c5347b[status: false][msg [
Version: V1
Subject: CN=x509, OU=x509, O=x509, L=Wellington, ST=Wellington, C=NZ
Signature Algorithm: MD5withRSA, OID = 1.2.840.113549.1.1.4
Key: Sun RSA public key, 1024 bits
modulus: 13052787793731294943682394984664645854838424340012907077330623....
The 'System Error Handler' from 'Invocation Trace' in ALSB test console is something like
[pre]
$fault:
<con:fault xmlns:con="http://www.bea.com/wli/sb/context">
<con:errorCode>BEA-386201</con:errorCode>
<con:reason>
A web service security fault
occurred[{http://schemas.xmlsoap.org/soap/envelope/}Server][Failed
to get token for tokenType:
http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3]
</con:reason>
<con:details>
<err:WebServiceSecurityFault
xmlns:err="http://www.bea.com/wli/sb/errors">
<err:faultcode
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
soapenv:Server
</err:faultcode>
<err:faultstring>
Failed to get token for tokenType:
http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3
</err:faultstring>
</err:WebServiceSecurityFault>
</con:details>
<con:location>
<con:path>response-pipeline</con:path>
</con:location>
</con:fault>
So is this a feature not supported in ALSB 2.6 yet or am I missing something dead simple?
Thanks in advance
SamInstead of specifying policies for input and output separately you could place the policy reference only once in the operation element. Maybe will this solve your problem...
http://e-docs.bea.com/alsb/docs26/security/ws_policy.html#wp1061166 -
Need to fixed solution for multipale path for single request email notification
Hello All,
I observed the some time GRC request have multiple path (Example 2.1 and 6.1). but in my landscape if one of the path completed email will sent to user and requester. but that should not correct.
Once request completed (Path1 , Path2 ..etc) than email notification will tigger.
If any one can help me about this settings.
Please let me know if you need more details..
My enviroment details\
Verson - GRC 5.3I have not used 5.3 for a long time, but is there an option to set the provisioning at the end of the Request rather than a path and then send an email at the end of the whole request? I know this is all doable on 10.0 by setting the provisioning settings in the configuration and setting up the Global notifications in the workflow config.
-
Need table for Transport Request component
Hi,
I need the name of the table that stores the TR name and all the Objects to be transported in them.
Thnx in advance,
ChirantanCheck <b>E070</b>
E070 Change & Transport System: Header of Requests/Tasks
E070A Change & Transport System: Attributes of a Request
E070C CTS: Source/Target Client of Requests/Tasks
E070CREATE Change & Transport System: Creation Date of Request
E070DEP Change & Transport System: Dependencies of Requests
E070L CTS: Index for Assigning Numbers to Requests/Tasks
E070M CTS: Target Development Class/Layer for Requests
E070N UNIX/SAP User Connection
E070P Path under which a C correction is created
E070TC Help Table for E070 for Client-Specific Imports
E070USE Use of Current Requests by Users
E071 Change & Transport System: Object Entries of Requests/Tasks
E071C Change & Transport System: Client-Specific Lock Flag
E071E Lang. Transport: Positive List for Generic Object Selection
E071K Change & Transport System: Key Entries of Requests/Tasks
E071KF Change & Transport System: Nametab Information on Key Fields
E071KFINI Change & Transport System: Nametab Information on Key Fields
E071L Language Transport: Transport Information
E07T Change & Transport System: Short Texts for Requests/Tasks -
How to retain socket connection for multiple requests in java 1.3
Hi All,
My problem is to retain client socket connection without opening and closing socket connection for every request.I want to open the socket connection once and send multiple requests one after the other based upon the response over the same socket.Finally I want to close the socket only after completing all my requests and receiving respective responses.I don't want to open and close the socket for each request and response.While at the same time I expect the socket to send each request only after receiving the response for the previous request.
I am using java 1.3 and I am looking for the solution in same version.
Please help me .
Thanx in advance.Look at my response to "Telnet to Unix box from Java"
http://forum.java.sun.com/thread.jsp?forum=31&thread=437231
on "Java Programming" forum. It does exactly that to run the signon and a command. It would be easy to extend it to do multiple commands. -
Hi,
I was told that there is a limit for the request and response object sizes and crossing them will throw IllegalStateException. Could some one explain whether this is true and what is the maximum size of the object allowed?
Thanks,
DesAs far as I know no such limit is defined by the API. There will always be a limit due to implementation and underlying architecture. Which particular implementation of request/response are you concerned about?
-
OIM 9.x is showing multiple requests for unique request under pending appro
Hi OIM Guru,
We are using oim 9.x and seeing multilple entries for single request id under pending approval page.
Support request id is 100 and once you go to pending approval page :-
you will be able to multiple entries for request id 100. (Hope i am clear enough on this front.)
any idea on this front ?
What could be the possible reason for it?What is the BP that you are using? there is a bug related of this issue. Please update your OIM to latest BP and let me know.
I hope this helps,
Thiago Leoncio -
Given WSDL, need to generate example request / response XML to give testers
Without actually making the service calls I need to generate example XML request and response messages for each service in a given a WSDL.
So far the only other tool that can do this is the Oxygen xml editor wsdl inspector. Not even XMLspy does this.
Just wondering if my experimenting with Jdev 11.(latest) has missed a way to get this accomplished?
tnx curthow about SoaPUI tool?
-
I am trying to handle Producer not available situation in which I am using Interceptor IWSDLInterceptor in WLP 10.3.4. I am able to retrieve exception using onWSDLException but from here if I have to forward my pageURL object I need httpservlet request and response. I tried my own filter class to have its own customize request and also tried it out all other Interceptor to see if any one can handle IOException. I did manage to throw my own Customize exception but that also did not work out as Page does not have any backing file or any supportive Controller class.
Does any one implemented solution for httpservlet request/response object in IWSDLInterceptor implemented class? or do we have any specific documentation in regards to this? As I am not able to find much martial on IWSDLInterceptor except Java API from Oracle and article defining Two way SSL handshake Producer.
Any kind of help is appreciated.
Thanks
PTThanks Emmanuel for your response but render behavior is not available for IWSDLRequestContext/IWDSLResponseContext object which IWSDLInterceptor uses for implementation.
Let me put my question in little simpler manner. May be my approach to the problem is not proper.
Problem : Handle Producer Not available (no application exists on server) on consumer side.
So far tried approach : Producer is not running then I am able to handle that TransportException at IInitCookieInterceptor/IHandleEventInterceptor onFault behaviour but in the case of Producer not even exists Consumer try to get WSDL fetch operation and failed with FileNotFoundException.
To handle this exception, I used IWSDLInterceptor which is available under IWSDLInterceptor.OnWSDLException (Oracle Fusion Middleware Java API for Oracle WebLogic Portal)
I am able to catch the exception but problem arise when application needs to forward at specific page/render portlet for this situation. For that it required request/response object but IWSDLInterceptor does not give any kind of instances to redirect request as there is no direct access to HTTPServlet request/response object.
I tried my custom request object to use there. I tried out custom filter object of IWSDLrequestContext. nothing works.
One approach works is to put producer WSDL file at consumer level. But in that, you need to handle different producer files for different environment. Which I don't think its a good approach.
eAny one Let me know if my approach to the problem/scenario is wrong. Or if I am missing out any other supporting interface which also required to handle this scenario. or I am using wrong interface for this scenario.
Thanks for your help in advance.
PT. -
High Avg Response time for logon requests via CMS
Hi Team ,
We are continuously receiving observing high Average reponse time for logon requests to the BO system via Central Management Server.
We observe response time up to 25043 ms .
Currently we are on SAP BO 4.0 SP7 patch 9 (4.0.7.9)
DB = SQL server 2008 R2
App Server = SAP NW 7.31 SP 7.
Also the size of our CMS DB is around 15 GB .
What could be the possible reasons ?
Regards ,
AbhinavHi Abhinav,
As one of the issues has been raised as a bug which is resolved in BI 4.1 so you can upgrade to resolve this bug. Also if the CMS database size is large then CMS has to search for objects through huge number of rows hence that will affect overall performance. So you can try to reduce this size as per my previous upate.
Apart this you can try following steps
Try to ping CMS DB server from BO servers and confirm the response is coming in 1 ms. Run tracert <DB servers name> from CMD and check the number of hops. If response time is not 1 ms or there are more number of hops then ask your network team to resolve network latency issue
You can increase the "System database connections" for each CMS from server properties. It is set to 14 by default which means the CMS will establish 14 connections to CMS database at any time. You can increase this value, however please make sure that the system database allows more connections than default 14 from DB side. This needs to be confirmed from your DBA.
Please add CMS cluster members in platformservices.properties file under Tomcat folder. Please refer following SAP KBA for steps to add the cluster members
http://service.sap.com/sap/support/notes/1668515
http://service.sap.com/sap/support/notes/1766935
4. Also please confirm number of users simultaneously login to system at peak time. Usually one CMS is capable of handling around 500 requests. So if you have more then 1000 users then add another new CMS on same nodes if there is enough free memory on the server
Regards,
Hrishikesh -
Change log issues-2 images for a single requests
Hi ,
in change log table for a single request i found 2 before images and two after images, is this normal behaviour if not when can we see the such type of scenarios.
because it leads to zero records when it isn updated in to the further data targets.
thanks.the listener is NOT involved with any existing session.
stopping & restarting the listener has NO impact on existing sessions.
I suggest it is better to control network access to any system using a Firewall which is the best tool for this task.
Yes, it is possible to have more than 1 listener. It is also possible to poke yourself in the eye with a sharp pencil.
I suggest that you should avoid both of these possible activities.
Simply put having multiple listeners is wrong for multiple reasons & should be avoided. -
iOS: Restore error 3194 or 'This device isn't eligible for the requested build'
Unable to contact the iOS software update server gs.apple.com
Error 1004, 1013, 1638, 3014, 3194: These errors may be the result of the connection to gs.apple.com being redirected or blocked. Follow these steps to resolve these errors:
Install the latest version of iTunes.
Check security software and ensure that communication to gs.apple.com is allowed. Follow these stepsfor assistance with security software.
Check the hosts file. The restore will fail if there is an active entry to redirect gs.apple.com. Follow theadvanced iTunes Store troubleshooting steps to edit the hosts file or revert to a default hosts file. See "Blocked by configuration: (Mac OS X/Windows) > Rebuild network information."
Try to restore from another known-good computer and network.
If the errors persist on another computer, the device may need service. -
Hi Experts
I am trying to call NW BPM scenario(File to BPM) from PI, and using below adapter config.
I am getting below error.
Failed to call the endpoint: Error in call over HTTP: HTTP 200 OK
SOAP: Call failed: java.io.IOException: HTTP Error response for SOAP request or invalid content-type.; HTTP 200 OK
SOAP: Error occurred: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: HTTP Error response for SOAP request or invalid content-type.; HTTP 200 OK
MP: exception caught with cause com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: HTTP Error response for SOAP request or invalid content-type.; HTTP 200 OK
Transmitting the message to endpoint <local> using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: HTTP Error response for SOAP request or invalid content-type.; HTTP 200 OK
Any idea how to fix this issue?
Thanks,
Sandeep Maurya.Hi Sandeep,
Test the URL from your browser and check the proxy settings as well.
Refer the below links
SOAP: call failed: java.io.IOException: invalid content type for SOAP: TEXT
SOAP: Call failed: java.io.IOException: Failed to get the input stream from socket: java.net.SocketException: Connection…
Regards
Bhargava Krishna -
Web Service Response issue for some Requests
I have a WebService deployed on Oracle Application Server and it's an HTTPS connection. I am facing a small issue and can't figure out
what's going on. For each request there's a response returned. Sometimes the comsumer does not get the response back even though the request
is successfully processed and response generated but some how it never makes it to the consumer.
Here is the signature of the function:
public Element parseData(Element data) throws RemoteException;
--------------------------------------------------------------------------------And I can't figure out why a consumer does not receive a response back for some of the requests. Any ideas what might be wrong or how to
debug this issue. Is there any place I can look to see for each request is a response going back. I don't know if it's related Network or
App. Server and where to start to debug this. As looking at the logs of my Web Service I do see all the requests being processed and response
being generated but some how it never makes it to the consumer. It normally takes arround 5 to 10 seconds to process each request and most
of time multiple requests may be being processed.
Any help is appreciated.
ThanksHi there.
If the consumer of your service is a .NET client, it will silently ignore any response that is not formated as advertize in the WSDL and will return an empty object to the caller. As you are trying to use raw XML Element, it seams to be a potential explaination.
If you can turn off SSL in your test environment, you may want to run a TCP sniffer tool, on the host where your server is running. You can setup a filter on the IP @ of the consumer or the TCP port of the service comsumed. I'll recommend you look at ethereal as it's a cross platform utility.
Hope it helps.
Eric -
SOAP Receiver Error: HTTP Error response for SOAP Request
Hi gurus,
I'm facing a weird error in File --> PI 7.31 java only --> soap receiver proxy.
The other interfaces runs well. just one get the the following error:
Exception caught by adapter framework: java.io.IOException: Error receiving or parsing request message: java.io.IOException: HTTP Error response for SOAP request or invalid content-type.
I check the payload and test in the inbound proxy. on error.
Any hints?
Thanks a lot!
regards
ChristineHello Christine,
I faced the same issue,
You can use the beans below to overcome the error.
And charset should be utf-8
Maybe you are looking for
-
Is it possible to use different colors for different events within a day on ical and/or between days. So far I've only been able to change a color and then it affects the entire calendar. I'd like to use different colors for different events. Thanks
-
Problem - Customer tab in ME21n
Hello experts, I have seveal customer tabs in ME21/2/3n using ME_GUI_PO_CUST. I can see them in ME22/3 properly. The problem is that in ME21n I can see them only after i fill in one of the fields in the original tabs. I tried to debbug it but it seem
-
Authentication needed after doing trust between two different domains.
Hi There, I have a problem when i did the trust relationship between two different domains in two different forests ,,in the trust relationship steps all working two ways trust,with external trust,stub zone created on both domains and they are valida
-
I have OS and photoshop CC my spacebar doesn't turn into the hand anymore
I don't know if I pressed a series of keys that took away the action of my spacebar turning into the hand tool but my spacebar now doesn't turn into the hand tool. I have looked into the Keyboard short cuts and found the Hand tool. It has an H next
-
FORALL with Multi-level VARRAYs
Hello all, I was wondering if the FORALL statement supports something like this: FORALL i in 1 .. nt1.LAST INSERT INTO t1 VALUES (nt1(i)(i), nt1(i)(i+1)); where nt1 is a multi-level varray defined as: TYPE t1 IS VARRAY(10) OF VARCHAR2(32767); TYPE nt