HTTP Post Error
I am using WebLogic Server 7.0 SP1 with the iPlanet 4.1 WebLogic Plugin. When
I do a HTTP Post from my java applet using URLConnection, I am getting the following
error from the plugin:
[20/May/2003:11:19:13] failure ( 860): for host 199.228.131.177 trying to POST
/WebLogicServer/DSSServer/DSSServlet, wl-proxy reports: IO error reading client
POST data at line
[20/May/2003:11:19:13] failure ( 860): for host 199.228.131.177 trying to POST
/WebLogicServer/DSSServer/DSSServlet, wl-proxy reports: exception occurred: 'READ_ERROR
[os error=0, line 534 of proxy.cpp]: reading client POST data failed'
The applet code is as follows:
URLConnection con = toFetch.openConnection();
con.setDoInput(true);
con.setDoOutput(true);
con.setDefaultUseCaches(false);
con.setUseCaches(false);
con.setRequestProperty("Accept","text/html");
con.setRequestProperty("Content-Type","application/x-www-form-urlencoded");
prout = new DataOutputStream (con.getOutputStream ());
prout.writeBytes(postdata);
prout.flush();
prout.close();
The iPlanet access log shows a POST request was received but when the request
is proxied to the WebLogic plugin, the error occurs. I can't tell if this is
a HTTP header problem or a data problem.
Any help would be greatly appreciated.
Thanks,
Ken
I have exactly the same problem when using a URLConnection to post
data. Here's the error I get.
wl-proxy reports: exception occurred: 'READ_ERROR [os error=11, line
534 of proxy.cpp]: reading client POST data failed'
Any advices would be appreciated.
Thanks
CS
"Ken Sands" <[email protected]> wrote in message news:<[email protected]>...
> I am using WebLogic Server 7.0 SP1 with the iPlanet 4.1 WebLogic Plugin. When
> I do a HTTP Post from my java applet using URLConnection, I am getting the following
> error from the plugin:
>
> [20/May/2003:11:19:13] failure ( 860): for host 199.228.131.177 trying to POST
> /WebLogicServer/DSSServer/DSSServlet, wl-proxy reports: IO error reading client
> POST data at line
> [20/May/2003:11:19:13] failure ( 860): for host 199.228.131.177 trying to POST
> /WebLogicServer/DSSServer/DSSServlet, wl-proxy reports: exception occurred: 'READ_ERROR
> [os error=0, line 534 of proxy.cpp]: reading client POST data failed'
>
> The applet code is as follows:
>
> URLConnection con = toFetch.openConnection();
> con.setDoInput(true);
> con.setDoOutput(true);
> con.setDefaultUseCaches(false);
> con.setUseCaches(false);
> con.setRequestProperty("Accept","text/html");
> con.setRequestProperty("Content-Type","application/x-www-form-urlencoded");
> prout = new DataOutputStream (con.getOutputStream ());
> prout.writeBytes(postdata);
> prout.flush();
> prout.close();
>
> The iPlanet access log shows a POST request was received but when the request
> is proxied to the WebLogic plugin, the error occurs. I can't tell if this is
> a HTTP header problem or a data problem.
>
> Any help would be greatly appreciated.
>
> Thanks,
>
> Ken
Similar Messages
-
VMS/Autoupdate HTTP Post fail
I am trying to use the Auto Update Server to update my firewalls, but it is not working.
When my pix 501 tries to get its updates I get the following error in the 501's log: Error 612003 Auto Update failed to contact: https://10.10.5.6/autoupdate/AutoUpdateServlet, reason: HTTP POST failed. Also, the reporting section of the auto update server doesn't show the Pix as trying to get the update.
Anybody know why it is failing?
Thanks.Hello Jared-
I saw your posting on the VMS Auto Update server failing. I am having the exact same issue. The OS and PDM updates work fine, but the config update is giving me the HTTP POST error.
Have you come up with anything?
Any help would be appreciated.
Thanks Paul
[email protected] -
HTTP Post Outbound scenario - Error 110 - Timeouts in SMICM Tracefile
HI There
We have a scenario where we do a HTTP post using the HTTP Plain Adapter to a SMS service provider from a message received from a BW system via RFC, It works perfectly in our development system but we cannot get it working in our production system
In SXI_MONITOR the message fails with the error
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Call Adapter
-->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
<SAP:Category>XIAdapter</SAP:Category>
<SAP:Code area="PLAINHTTP_ADAPTER">ATTRIBUTE_CLIENT</SAP:Code>
<SAP:P1>110</SAP:P1>
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>HTTP client code 110 reason</SAP:Stack>
<SAP:Retry>A</SAP:Retry>
</SAP:Error>
Running a trace in SMICM shows the following in the tracelog
[Thr 4632] IcmConnRollInWP: no need to roll in WP status: ROLLED IN
[Thr 4632] IcmReadFromConn(id=9/140033): request new MPI (0/0)
[Thr 4632] MPI<3018f>19#4 GetOutbuf -1 cb2250 65536 (0) -> 0DE122B0 0
[Thr 4632] NiIRead: hdl 43 recv would block (errno=EAGAIN)
[Thr 4632] NiIPeek: peek for hdl 43 timed out (r; 500ms)
[Thr 4632] NiIRead: raw read for hdl 43 timed out (500ms)
[Thr 4632] IcmReadFromConn: read failed with timeout: 500 -> roll out
[Thr 4632] MPI<3018f>19#5 WriteOOB 00000000 02000000 09000000 01
[Thr 4632] MPI<30190>15#11 ReadOOB 01000000 01000000 2D000000 00 -> 0
[Thr 4632] IcmHandleOOBData: Received data on 1st MPI (seqno: 1, type=1, reason=1): 45/14512/0
[Thr 4632] MPI<3018f>19#10 ReadOOB 01000000 01000000 2D000000 00 -> 0
[Thr 4632] IcmHandleOOBData: Received data on 2nd MPI (seqno: 1, type=1, reason=1): 45/14512/0
[Thr 4632] IcmHandleOOBData: Received context key (type=1, reason=1): 45/14512/0
[Thr 4632] NiWakeupExec: send wakeup signal to 64997 (sock 16992)
[Thr 4632] IcmConnRollOut: connection (id=9/140033) rolled out:
[Thr 4632] CONNECTION (id=9/140033):
used: 1, type: 1, role: 2, stateful: 0
NI_HDL: 43, protocol: HTTP(1)
local host: 200.1.1.100:3405 ()
remote host: 196.30.220.242:80 ()
status: READ_RESPONSE
connect time: 23.07.2008 07:13:10
WP-status: ROLLED OUT (Context: 9, Role: 2)
tid: 45, mode: 0, uid: 14512, roll-reason: ICM_ROLL_NETTIMEOUT
With the following 2 lines ir differs from our development system - this is the point where it goes wrong
[Thr 4632] NiIRead: raw read for hdl 43 timed out (500ms)
[Thr 4632] IcmReadFromConn: read failed with timeout: 500 -> roll out
We have already checked the following between the 2 systems
1. Configuration in Netweaver Administrator is Consistent
2. Communication channel and Mapping is consistent
3. Profile parameters for ICM are consistent
Any ideas as to what this problem could be
Many ThanksHi
after you download the html client.
go to view -> source
and enter the present xiusername & pwd which you using and save.
Enter the below details in http client.
Servername : XIServername
Port : 80<instancenumber>
Client : XI server client number
Server : Sender service (business service or busienss system or integration process...when it comes to the HTTP adapter you need to create the business service that business service name you need to enter )
Interface name : outbound interface name
namespace : name for interface.
If you doing Party scenario enter the Party, Agency and Schema details also else optional.
Enter the Input xml data while enter the input data remove the first xml version line and paste the other data.
click on send message.
check the exchange profile set the httpport or not
check these links
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/66dadc6e-0a01-0010-9ea9-bb6d8ca48cc8
The specified item was not found.
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/http%2bto%2brfc%2bsynchronous%2bscenario%2b-%2bfaqs
HTTP to RFC - A Starter Kit
/people/r.eijpe/blog/2006/02/19/xml-dom-processing-in-abap-part-iiia150-xml-dom-within-sap-xi-abap-mapping
Regards,
Suryanarayana -
Applicatio​n using Http Post... getting error response
Im from Ecuador, and me and other 4 people from the same country are getting this error response when a native java application is trying to make a http post to mydomain.com
The requested URL could not be retrieved:
While trying to process the request:
POST /somedir/more?var1=abc&var2=xyz& HTTP/1.1
Expect: 100-continue
Host: mydomain.com
Content-Length: 40
Content-Type: text/plain; charset=utf-8
Accept: */*
Connection: close
Invalid request. Some aspect of the HTTP Request is nivalid. Possible problems:
Missing or unknwon request method
Missing URL
Missing HTTP Identifier (HTTP/1.0)
Request is too large
Content-Length missing for POST or PUT request
Generated by Blackberry.Internet.Browsing.Service (squd/2.7.STABLE6)
This issue is only happening in my country (Ecuador). I have some friends in Argentina and they have no problems at all. What are the posible causes for this problem?
Message Edited by andufo on 07-09-2009 08:43 PMHi again,
im attaching all the info you request:
What does the program actually do?
Social network (because of the TOS of this forum im not allowed to post project names or urls)
What is it trying to send when you submit a request?
What url is it posting the information to?
Im attaching all this at the end of the post.
Is it the 'exact' same application that works in other countries?
Yeap, the exact same one...
Is it supposed to be useing the Internet Browser?
No, it is a native app. The Browser is not used at all.
Are you on a BlackBerry Enterprise Server?
Im on BIS, all the users use BIS.
Technical details:
1) The app makes an Http Connection (POST) to:
http://mydomain.com/api/call?param1=abc¶m2=xyz
2) This is the Http connection configuration:
httpConnection = (HttpConnection) Connector.open(url);
HttpConnection.POST;
("Content-Type", "text/plain; charset=utf-8");
("Host", 'mydomain.com');
("Content-Length", 100); //depends on sent data
("User-Agent", 'BlackBerry8300... etc');
("Expect", "100-continue");
3) On every country it works fine... on my country i get this error:
The requested URL could not be retrieved while trying to process the request:
POST /app/llamada?param1=abc¶m2=xyz& HTTP/1.1
- Expect: 100-continue
- Host: mydomain.com
- Content-Length: 100
- Content-Type: text/plain; charset=utf-8
- Accept: */*
- Connection: close
Invalid request. Some aspect of the HTTP Request is invalid. Possible problems:
- Missing or unknwon request method
- Missing URL
- Missing HTTP Identifier (HTTP/1.0)
- Request is too large
- Content-Length missing for POST or PUT request
Generated by Blackberry.Internet.Browsing.Service (squid/2.7.STABLE6) -
Error in http post submit in Acrobat 8 and Reader 8
I am having an error when using the submit button via http post in Adobe 8 and Reader 8.
The http post is not properly formed and only submits the name of the first field and all of the values of the form. All the remaining fields names are not submitted.
It works fine however if I use Adobe 7 or Reader 7.
Anyone else have this error.
QuintenI have the same problem with Reader 8. It's a bug. In http request ampersand is missing. Reaser 8 sends:
PAR1=value_of_par1PAR2=value_of_par2PAR3=value_of_par3
but it may be:
PAR1=value_of_par1&PAR2=value_of_par2&PAR3=value_of_par3
Michal -
Error Unexpected end of file from server with HTTP POST
Hi everyone,
I'm coding a simple client to download some information from a local machine in my LAN.
I have to do this with an http post request.
When i try to parse the http response the program catch an exception, this one:
java.net.SocketException: Unexpected end of file from server
at sun.net.www.http.HttpClient.parseHTTPHeader(...)
the parameter is a JSON request, and of course the response is a JSON formatted.
i put the http request code:
import java.io.BufferedInputStream;
import java.io.BufferedReader;
import java.io.ByteArrayOutputStream;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.net.HttpURLConnection;
import java.net.URL;
public class HttpDownloaderThread extends Thread{
private String url;
private String param;
private HttpDownloadListener listener;
private HttpURLConnection connection=null;
private InputStream is;
private OutputStreamWriter wr;
public HttpDownloaderThread(String _url,String param, HttpDownloadListener _listener){
url = _url;
listener = _listener;
this.param=param;
public void run(){
try{
connection=(HttpURLConnection)new URL(url).openConnection();
connection.setRequestMethod("POST");
connection.setReadTimeout(5000);
connection.setRequestProperty("Content-Type", "application/jsonrequest");
connection.setDoOutput(true);
wr = new OutputStreamWriter(connection.getOutputStream());
wr.write(param, 0, param.length());
wr.flush();
int responseCode=0;
System.out.println();
try{
responseCode= connection.getResponseCode();
}catch(Exception e){
e.printStackTrace();
if (responseCode == HttpURLConnection.HTTP_OK){
is = connection.getInputStream();
BufferedReader rd = new BufferedReader(new InputStreamReader(is));
String line;
while ((line = rd.readLine()) != null) {
System.out.println(line);
closeHttpConnection();
listener.resourceDownloaded(url, null);
else{
closeHttpConnection();
listener.downloadFailed(url, new Exception("Http error: " + Integer.toString(responseCode)));
}catch(Exception e){
e.printStackTrace();
listener.downloadFailed(url, e);
}finally{
public void closeHttpConnection(){
if (is != null){
try{
is.close();
wr.close();
}catch (Exception e){
}finally{
is = null;
wr=null;
if (connection != null){
try{
connection.disconnect();
}catch (Exception e){
}finally{
connection = null;
}there's someone who know's why??
Thanks to everyone :)
Thomas.jole_star wrote:
this problem also happen to me,.So since you provided actually no information about your problem you are going to get exactly the same response.
Please don't hijack old threads. Start your own and provide much much much more information.
I shall lock this thread. -
Error while trying to get an HTTP POST response
Hi everyone,
I'm coding a simple client to download some information from a local machine in my LAN.
I have to do this with an http post request.
When i try to parse the http response the program catch an exception, this one:
java.net.SocketException: Unexpected end of file from server
at sun.net.www.http.HttpClient.parseHTTPHeader(...)
the parameter is a JSON request, and of course the response is a JSON formatted.
i put the http request code:
import java.io.BufferedInputStream;
import java.io.BufferedReader;
import java.io.ByteArrayOutputStream;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.net.HttpURLConnection;
import java.net.URL;
public class HttpDownloaderThread extends Thread{
private String url;
private String param;
private HttpDownloadListener listener;
private HttpURLConnection connection=null;
private InputStream is;
private OutputStreamWriter wr;
public HttpDownloaderThread(String _url,String param, HttpDownloadListener _listener){
url = _url;
listener = _listener;
this.param=param;
public void run(){
try{
connection=(HttpURLConnection)new URL(url).openConnection();
connection.setRequestMethod("POST");
connection.setReadTimeout(5000);
connection.setRequestProperty("Content-Type", "application/jsonrequest");
connection.setDoOutput(true);
wr = new OutputStreamWriter(connection.getOutputStream());
wr.write(param, 0, param.length());
wr.flush();
int responseCode=0;
System.out.println();
try{
responseCode= connection.getResponseCode();
}catch(Exception e){
e.printStackTrace();
if (responseCode == HttpURLConnection.HTTP_OK){
is = connection.getInputStream();
BufferedReader rd = new BufferedReader(new InputStreamReader(is));
String line;
while ((line = rd.readLine()) != null) {
System.out.println(line);
closeHttpConnection();
listener.resourceDownloaded(url, null);
else{
closeHttpConnection();
listener.downloadFailed(url, new Exception("Http error: " + Integer.toString(responseCode)));
}catch(Exception e){
e.printStackTrace();
listener.downloadFailed(url, e);
}finally{
public void closeHttpConnection(){
if (is != null){
try{
is.close();
wr.close();
}catch (Exception e){
}finally{
is = null;
wr=null;
if (connection != null){
try{
connection.disconnect();
}catch (Exception e){
}finally{
connection = null;
}there's someone who know's why??
Thanks to everyone :)
Thomas.Hi Vincent,
according to your script,it seems like you are trying to connect to Exchange Online?
If so these as to be installed on your computer:
http://go.microsoft.com/fwlink/?LinkId=286152
http://go.microsoft.com/fwlink/p/?linkid=236297
Reboot and run this command as one line:
Set-ExecutionPolicy RemoteSigned
$LiveCred = Get-Credential
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $LiveCred -Authentication Basic -AllowRedirection
$Import = Import-Pssession $Session -AllowClobber
Import-Module MSOnline -verbose
Connect-MSOLservice -Credential $LiveCred
Hope this helped
Please mark as helpful if you find my contribution useful or as an answer if it does answer your question. That will encourage me - and others - to take time out to help you. Thank you! Off2work -
Http post issue in soa suite 11g with 10g wsdl
I have 10g process that has http post wsdl as below. When I'm trying to create a project in 11g 11.1.1.4 with same wsdl, getting the following error at building the project. "Error(12,61): Parse of component type files failed, check the adf-config.xml file : "Error at line 34 char 64: Malformed WS Binding port. Missing # between namespace URI and service/port names."
I'm sure that http post mechanism is changed in 11g, but can you please help what exactly is wrong ?
<?xml version="1.0"?>
<definitions name="HTTPPostService"
targetNamespace="http://services.otn.com"
xmlns:tns="http://services.otn.com"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
>
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TYPE DEFINITION - List of types participating in this BPEL process
The BPEL Designer will generate default request and response types
but you can define or import any XML Schema type and use them as part
of the message types.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<types>
<schema attributeFormDefault="qualified" elementFormDefault="qualified"
targetNamespace="http://services.otn.com"
xmlns="http://www.w3.org/2001/XMLSchema">
<element name="Postreq">
<complexType>
<sequence>
<element name="Order_Update_Request">
<complexType>
<sequence>
<element name="ORD_ID" type="string"/>
<element name="E_MAIL" type="string"/>
</sequence>
</complexType>
</element>
</sequence>
</complexType>
</element>
<element name="Postresp">
<complexType>
<sequence>
<element name="Order_Update_Response">
<complexType>
<sequence>
<element name="RETURN_STATUS" type="string"/>
<element name="MESSAGE_TEXT" type="string"/>
</sequence>
</complexType>
</element>
</sequence>
</complexType>
</element>
</schema>
</types>
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
MESSAGE TYPE DEFINITION - Definition of the message types used as
part of the port type defintions
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<message name="HTTPPostServiceRequestMessage">
<part name="payload" element="tns:Postreq"/>
</message>
<message name="HTTPPostServiceResponseMessage">
<part name="payload" element="tns:Postresp"/>
</message>
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
PORT TYPE DEFINITION - A port type groups a set of operations into
a logical service unit.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<!-- portType implemented by the HTTPPostService BPEL process -->
<portType name="HTTPPostService">
<operation name="IScript_Update_Order">
<input message="tns:HTTPPostServiceRequestMessage" />
<output message="tns:HTTPPostServiceResponseMessage"/>
</operation>
</portType>
<binding name="HTTPPost" type="tns:HTTPPostService">
<http:binding verb="POST"/>
<operation name="IScript_Update_Order">
<http:operation location="/PSIG/HttpConnector?From=PSFT_XINBOUND&MessageName=ABC_ORD_UPDORDER&MessageType=sync&MessageVersion=v1"/>
<input>
<mime:mimeXml part="payload"/>
<mime:content type="text/xml"/>
</input>
<output>
<mime:mimeXml part="payload"/>
<mime:content type="text/xml"/>
</output>
</operation>
</binding>
<service name="HTTPPostService">
<port name="HTTPPost" binding="tns:HTTPPost">
<http:address location="http://myserver.mycompany.com"/>
</port>
</service>
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
PARTNER LINK TYPE DEFINITION
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<plnk:partnerLinkType name="HTTPPostService">
<plnk:role name="HTTPPostServiceProvider">
<plnk:portType name="tns:HTTPPostService"/>
</plnk:role>
</plnk:partnerLinkType>
</definitions>Can you make sure your helloworld is using adf bindings as mentioned in thread Re: Urgent :: 11g Invoking Composite from Java/From Webservice Proxy
-
Hi,
for some reason unknown to me whenever I try to send a dom via http Post I get the following error:
org.xml.sax.SAXParseException: The root element is required in a well-formed document.
This is the source code:
package com.cyberrein.payunion.transaction;
import javax.servlet.*;
import javax.servlet.http.*;
import java.io.*;
import java.util.*;
//xml lib
import org.w3c.dom.Document;
import org.w3c.dom.Element;
//weblogic xml lib
import weblogic.apache.xerces.dom.DocumentImpl;
import weblogic.apache.xml.serialize.DOMSerializer;
import weblogic.apache.xml.serialize.XMLSerializer;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
public class Xmltest extends HttpServlet {
//Initialize global variables
public void init(ServletConfig config) throws ServletException {
super.init(config);
//Process the HTTP Request
public void service(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
// Retrieve transaction data from HttpServletRequest.
try {
DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
dbf.setValidating(false);
DocumentBuilder db = dbf.newDocumentBuilder();
Document docIn = db.parse(request.getInputStream());
String code = "XX";
String tranID = "000000";
String message = "This Card Is Invalid. Transaction Discontinued";
//Output dom
Document docOut = new DocumentImpl();
Element e = (Element)docOut.createElement("TransactionResponseData");
e.setAttribute("Code", code);
e.setAttribute("TransactionID", tranID);
e.setAttribute("Message", message);
docOut.appendChild(e);
FileOutputStream fos;
fos = new FileOutputStream("/victory");
DOMSerializer serX = new XMLSerializer(fos,null);
serX.serialize(docIn);
DOMSerializer ser = new XMLSerializer(response.getOutputStream(), null);
ser.serialize(docOut);
} catch (Throwable e) {e.printStackTrace();}
//Get Servlet information
public String getServletInfo() {
return "com.cyberrein.payunion.transaction.Xmltest Information";
package com.cyberrein.payunion.transaction;
import org.w3c.dom.*;
import org.apache.xerces.*;
import org.apache.xerces.dom.*;
import org.apache.xerces.parsers.*;
import org.apache.xml.serialize.*;
import org.xml.sax.*;
import java.net.*;
import java.io.*;
public class CardClient {
private String sURI;
public BufferedReader in
= new BufferedReader(new InputStreamReader(System.in));
public CardClient(String serverURI) {
sURI = serverURI;
public Document test(){
Document docIn = null;
try
//XML Document impl
docIn = new DocumentImpl();
//Create the root element
Element t = docIn.createElement("TransactionData");
Element k = docIn.createElement("Payunion.com");
k.appendChild( docIn.createTextNode("North American server") );
t.appendChild(k);
//Set attributes
t.setAttribute("cardnumber", "4444444444444444");
t.setAttribute("amount", "3000.67");
t.setAttribute("name", "tolu agbeja");
t.setAttribute("cvv2", "001");
t.setAttribute("pu_number", "ejs:pupk:23456");
t.setAttribute("expirydate", "0903");
t.setAttribute("address", "100 peachtree industrial");
t.setAttribute("zipcode", "30329");
docIn.appendChild(t);
catch (Throwable te)
te.printStackTrace();
return docIn;
public Document sendRequest(Document doc) {
Document docOut = null;
try {
URL url = new URL("http://" + sURI);
HttpURLConnection conn = (HttpURLConnection) url.openConnection();
conn.setRequestMethod("POST");
conn.setDoInput(true);
conn.setDoOutput(true);
OutputStream out = conn.getOutputStream();
BufferedReader br = new BufferedReader(new InputStreamReader(conn.getInputStream()));
XMLSerializer ser = new XMLSerializer( out, new OutputFormat("xml", "UTF-8", false) );
ser.serialize(doc);
while(!br.ready()){}
DOMParser parser = new DOMParser();
parser.parse(new InputSource(br));
docOut = parser.getDocument();
catch (Throwable et)
et.printStackTrace();
return docOut;
public static void main(String []args)
CardClient c = new CardClient("cyber1:7001/xmltest");
try
Document doc = c.sendRequest(c.test());
Element responseMessage = (Element)doc.getElementsByTagName("TransactionResponseData").item(0);
String message = responseMessage.getAttribute("Message");
String tranID = responseMessage.getAttribute("TransactionID");
String code = responseMessage.getAttribute("Code");
System.out.println(message);
System.out.println("");
System.out.println("The Response Code Is: "+code);
System.out.println("");
System.out.println("The Transaction ID Is: "+tranID);
catch(Exception ex)
ex.printStackTrace();
All comments will be appreciated!!Hi, thanks for your reply i knew the FileUplaod was the way forward.
I read topics advising to use the FileUpload and tried the following but it did not seem to work ( i get an HTTP Internal Server error when i try that):
try
DiskFileUpload upload = new DiskFileUpload();
boolean isMultipart = FileUpload.isMultipartContent(request);
if( isMultipart )
List items = upload.parseRequest( request );
Iterator iter = items.iterator();
while( iter.hasNext() )
FileItem fileItem = ( FileItem ) iter.next();
File uploadedFile = new File("myreceivedfile.zip");
fileItem.write( uploadedFile );
}catch (Exception e)
System.out.println("RECEIVER: " + e.getMessage());
Also DiskFileUpload,isMultipartContent and parseRequest have a line going through the middle (horizontal middle).
Edited by: Overmars08 on Jun 23, 2009 5:35 AM
Edited by: Overmars08 on Jun 23, 2009 5:36 AM -
HTTP 500 Error while login.
Hi Friends,
I have fresh installed R121.1 on 2003 server. just after instalation i checked my application was working fine.
then i shut down my application using adstapal.cmd and did one reboot.
Post reboot i started my DB with it's listner after this as expected DB is working fine. and then started all the services with adstrtal.cmd
Every services are started.
When i was trying to login to application i an getting HTTP 500 Error Below is my steps and services status.
D:\oracle\VIS\inst\apps\VIS_ora\admin\scripts>adstrtal.cmd apps/apps
ECHO is off.
ECHO is off.
Thu 11/11/2010 10:21 PM
ECHO is off.
ECHO is off.
Connected.
The logfile for this session is located at D:\oracle\VIS\inst\apps\VIS_ora\logs\
appl\admin\log\adstrtal.txt
Executing service control script:
D:\oracle\VIS\inst\apps\VIS_ora\admin\scripts\adopmnctl.cmd start
script returned:
Thu 11/11/2010 10:21 PM
Starting Oracle Process Manager (OPMN) ...
CALL D:\oracle\VIS\apps\tech_st\10.1.3\opmn\bin\opmnctl.exe start
opmnctl: opmn started
STATE : 4 RUNNING
exiting with status 0
ERRORCODE = 0 ERRORCODE_END
.end std out.
.end err out.
Executing service control script:
D:\oracle\VIS\inst\apps\VIS_ora\admin\scripts\adalnctl.cmd start
script returned:
ECHO is off.
ECHO is off.
Thu 11/11/2010 10:23 PM
ECHO is off.
The environment settings are as follows ...
ECHO is off.
ORACLE_HOME : D:\oracle\VIS\apps\tech_st\10.1.2
LOCAL : VIS
ORACLE_SID :
PATH : D:\oracle\VIS\apps\tech_st\10.1.2\bin;D:\oracle\VIS\apps\te
ch_st\10.1.3\appsutil\jdk\bin;D:\oracle\VIS\apps\tech_st\10.1.3\appsutil\jdk\jre
\bin;D:\oracle\VIS\apps\apps_st\appl\au\12.0.0\bin;D:\oracle\VIS\apps\apps_st\ap
pl\fnd\12.0.0\bin;D:\oracle\VIS\apps\apps_st\appl\ad\12.0.0\bin;D:\oracle\VIS\ap
ps\tech_st\10.1.3\appsutil\jdk\jre\bin;D:\oracle\VIS\apps\tech_st\10.1.3\perl\5.
8.3\bin\MSWin32-x86-multi-thread\;D:\oracle\VIS\apps\apps_st\comn\util\unzip\unz
ip;D:\oracle\VIS\apps\tech_st\10.1.3\appsutil\jdk\bin;D:\oracle\VIS\apps\tech_st
\10.1.2\bin;D:\oracle\VIS\apps\tech_st\10.1.3\appsutil\jdk\bin;D:\oracle\VIS\app
s\tech_st\10.1.3\appsutil\jdk\jre\bin;D:\oracle\VIS\apps\tech_st\10.1.3\bin;D:\o
racle\VIS\apps\tech_st\10.1.3\appsutil\jdk\bin;D:\oracle\VIS\apps\tech_st\10.1.3
\bin;D:\oracle\VIS\apps\apps_st\appl\cz\12.0.0\bin;D:\oracle\VIS\apps\apps_st\ap
pl\iby\12.0.0\bin;D:\oracle\VIS\apps\apps_st\appl\pon\12.0.0\bin;D:\oracle\VIS\a
pps\apps_st\appl\au\12.0.0\bin;D:\oracle\VIS\apps\tech_st\10.1.3\bin;D:\oracle\V
IS\apps\apps_st\appl\cz\12.0.0\bin;D:\oracle\VIS\apps\apps_st\appl\iby\12.0.0\bi
n;D:\oracle\VIS\apps\apps_st\appl\pon\12.0.0\bin;D:\oracle\VIS\apps\apps_st\appl
\au\12.0.0\bin;D:\oracle\VIS\apps\tech_st\10.1.3\bin;D:\oracle\VIS\apps\tech_st\
10.1.3\appsutil\jdk\bin;D:\oracle\VIS\apps\tech_st\10.1.2\bin;D:\oracle\VIS\apps
\tech_st\10.1.3\appsutil\jdk\bin;D:\oracle\VIS\apps\tech_st\10.1.3\appsutil\jdk\
jre\bin;D:\oracle\VIS\apps\tech_st\10.1.3\bin;D:\oracle\VIS\apps\tech_st\10.1.3\
appsutil\jdk\bin;D:\oracle\VIS\apps\tech_st\10.1.3\bin;D:\oracle\VIS\apps\tech_s
t\10.1.3\appsutil\jdk\bin;C:\Dot_Net_VC\Common7\IDE;C:\Dot_Net_VC\VC\BIN;C:\Dot_
Net_VC\Common7\Tools;C:\Dot_Net_VC\Common7\Tools\bin;C:\Dot_Net_VC\VC\PlatformSD
K\bin;C:\Dot_Net_VC\SDK\v2.0\bin;C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727;C
:\Dot_Net_VC\VC\VCPackages;D:\oracle\VIS\apps\apps_st\appl\au\12.0.0\bin;D:\orac
le\VIS\apps\apps_st\appl\fnd\12.0.0\bin;D:\oracle\VIS\apps\apps_st\appl\ad\12.0.
0\bin;D:\oracle\VIS\apps\tech_st\10.1.3\appsutil\jdk\jre\bin;D:\oracle\VIS\apps\
tech_st\10.1.3\perl\5.8.3\bin\MSWin32-x86-multi-thread\;D:\oracle\VIS\apps\apps_
st\comn\util\unzip\unzip;D:\oracle\VIS\apps\tech_st\10.1.3\appsutil\jdk\bin;D:\o
racle\VIS\apps\tech_st\10.1.2\bin;D:\oracle\VIS\apps\tech_st\10.1.3\appsutil\jdk
\bin;D:\oracle\VIS\apps\tech_st\10.1.3\appsutil\jdk\jre\bin;C:\Dir\bin;C:\WINDOW
S;C:\WINDOWS\system32;D:\oracle\VIS\apps\tech_st\10.1.3\ant\bin;D:\oracle\VIS\ap
ps\tech_st\10.1.3\ant\bin
LD_LIBRARY_PATH : D:\oracle\VIS\apps\tech_st\10.1.2\lib
ECHO is off.
The service "OracleVIS_ora_TOOLSTNSListenerAPPS_VIS" is already started
adalnctl.cmd exiting with status 0
.end std out.
.end err out.
Executing service control script:
D:\oracle\VIS\inst\apps\VIS_ora\admin\scripts\adapcctl.cmd start
script returned:
Thu 11/11/2010 10:23 PM
Oracle Managed Process HTTP_Server is already running
exiting with status 2
ERRORCODE = 2 ERRORCODE_END
.end std out.
.end err out.
Executing service control script:
D:\oracle\VIS\inst\apps\VIS_ora\admin\scripts\adoacorectl.cmd start
script returned:
Thu 11/11/2010 10:23 PM
Oracle Managed Process oacore is already running
exiting with status 2
ERRORCODE = 2 ERRORCODE_END
.end std out.
.end err out.
Executing service control script:
D:\oracle\VIS\inst\apps\VIS_ora\admin\scripts\adformsctl.cmd start
script returned:
Thu 11/11/2010 10:23 PM
Oracle Managed Process forms is already running
exiting with status 2
ERRORCODE = 2 ERRORCODE_END
.end std out.
.end err out.
Executing service control script:
D:\oracle\VIS\inst\apps\VIS_ora\admin\scripts\adoafmctl.cmd start
script returned:
Thu 11/11/2010 10:23 PM
Oracle Managed Process oafm is already running
exiting with status 2
ERRORCODE = 2 ERRORCODE_END
.end std out.
.end err out.
Executing service control script:
D:\oracle\VIS\inst\apps\VIS_ora\admin\scripts\adcmctl.cmd start
script returned:
ECHO is off.
ECHO is off.
Thu 11/11/2010 10:23 PM
ECHO is off.
ECHO is off.
Thu 11/11/2010 10:23 PM
ECHO is off.
ECHO is off.
Setting environment for using Microsoft Visual Studio 2005 x86 tools.
APPSORA.cmd exiting with status 0
Starting concurrent manager for VIS ...
The OracleConcMgrVIS_ora service is starting...
The OracleConcMgrVIS_ora service was started successfully.
adcmctl.cmd exiting with status 0
.end std out.
.end err out.
Executing service control script:
D:\oracle\VIS\inst\apps\VIS_ora\admin\scripts\jtffmctl.cmd start
script returned:
You are running jtffmctl.cmd
Thu 11/11/2010
10:23 PM
"Starting Fulfillment Server for "VIS" on port "9300" ...\n"
The Oracle Fulfillment Server VIS_ora service is starting.
The Oracle Fulfillment Server VIS_ora service was started successfully.
jtffmctl.cmd exiting with status 0
ERRORCODE = 0 ERRORCODE_END
.end std out.
.end err out.
All enabled services for this node are started.
Check logfile D:\oracle\VIS\inst\apps\VIS_ora\logs\appl\admin\log\adstrtal.txt f
or details
adstrtal.cmd exiting with status 0
ERRORCODE = 0 ERRORCODE_END
D:\oracle\VIS\inst\apps\VIS_ora\admin\scripts>adapcctl.cmd status
Thu 11/11/2010 10:28 PM
Checking status of OPMN managed processes...
Processes in Instance: VIS_ora.ora.apps.com
---------------------------------+--------------------+---------+---------
ias-component | process-type | pid | status
---------------------------------+--------------------+---------+---------
OC4JGroup:default_group | OC4J:oafm | 7980 | Alive
OC4JGroup:default_group | OC4J:forms | 1936 | Alive
OC4JGroup:default_group | OC4J:oacore | 7884 | Alive
HTTP_Server | HTTP_Server | 7828 | Alive
ASG | ASG | N/A | Down
exiting with status 0
ERRORCODE = 0 ERRORCODE_END
D:\oracle\VIS\inst\apps\VIS_ora\admin\scripts>At the botom i have given status of adapcctl.cmd as well
Please Suggest
Bachan.Hi,
[Fri Nov 12 13:22:04 2010] [error] [client 192.168.100.1] [ecid: 1289596924:192.168.100.1:3020:2668:1,0] Directory index forbidden by rule: c:/oracle/vis/apps/apps_st/comn/java/classes/
[Fri Nov 12 04:08:42 2010] [error] [client 192.168.100.1] [ecid: 1289563722:192.168.100.5:3528:3312:2,0] File does not exist: c:/oracle/vis/inst/apps/vis_ora/portal/favicon.icoThese errors can be ignored.
And Data base is running perfectly fine.
I can query, compile n can do any thing on DB.Have you check the log file for any ORA-XXXXX errors?
i am able to login and after few min it went to same status HTTP 500 Internal server errorAre you still above to access the forms? Is the issue with HTTP server only?
Thanks,
Hussein -
Http post to a url from a WebDynpro (Java) application
Hi,
I want to send http post parameters to a url from a WebDynpro (Java) component. I need to do this to send OCI catalog data back to SAP SRM.
I found this thread:
HTTP Post
which suggests to use the the Suspend plug for this purpose.
<quote>
Sending POST parameters with Web Dynpro Suspend Plugs
1) Define a an additional Suspend Plug parameter (besides 'Url' of type String) with name 'postParams' and of type Map
</quote>
After adding the postParams parameter of type java.util.Map to the Suspend-plug the WebDynpro gives the following error during build:
Outbound plug (of type 'Suspend') 'suspend_plug' may have at most two parameters: 'url' of type 'string' and 'postParams' of type 'Map'.
I use SAP NetWeaver Developer Studio version 7.0.16.
Does someone know a solution? I would highly appreciate it.
Thanks in advance.
EricHi,
Please have a look at this thread,
Pass Table as Input to Adaptive RFC
Regards,
Saravanan K -
File upload using http-post in OSB
Hi All,
I am trying to upload a file using http-post method in OSB.
I have created a business service pointing to the service url, with http method post.
and calling this business service from a proxy service.
I am unable to send the form data to the business service.
Please let me know how to send trhe form data and the file information.
The error given by Business Service is-
the request doesn't contain a multipart/form-data or multipart/mixed stream, content type header is text/plain
Thanks in advance.
Seemant
Edited by: Seemant Srivastava on Oct 12, 2010 12:28 PMHi Anuj,
A sample HTML form code for. Post HTTP service-
<html>
<head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>CSV File</title>
</head>
<body>
<form method="post" enctype="multipart/form-data" action="http://xyz/UploadFile">
<table>
<tr>
<td> Feed id </td>
<td><input type="text" name="refid" value="" size="20"></td>
</tr>
<tr>
<td> Username (optional)</td>
<td><input type="text" name="username" value="" size="20"></td>
</tr>
<tr>
<td> Password (optional)</td>
<td><input type="password" name="password" value="" size="20"></td>
</tr>
<tr><td> Select CSV File </td>
<td> <input type="file" name="upload" value="" width="30"/></td>
</tr>
<tr>
<td><input type="submit" name="Ok" value="Go"> <input type="reset" name="reset" value="Reset"> </td>
</tr>
</table>
</form>
</body>
</html>
I need to pass all these information to OSB business service. -
Not able to send message - http post from MII 12.1.4.53 to PI 7.1
Hi ,
Question
u2022 Is there any configuration to set up in MII and PI to do posting to PI as a web service? If YES, please guide.
Situation
u2022 We are with MII version 12.1.4.53 and trying to send message through http post to PI 7.1 server.
u2022 We are getting the following error HTTP 500 Internal Error Issue.
u2022 However we are able to post messages from SOAPUI through the same URL and with the MII system which is running on version 12.1.6.91 and 12.1.9.116
u2022 HTTP Response received as below points to PI Configuration issue.
Error
<SOAP:Fault>
<faultcode>SOAP:Server</faultcode>
<faultstring>Server Error</faultstring>
<detail>
<s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">
<context>XIAdapter</context>
<code>ADAPTER.JAVA_EXCEPTION</code>
<text><![CDATA[
com.sap.aii.af.service.cpa.CPAObjectNotFoundException: Couldn't retrieve inbound binding for the given P/S/A values: FP=senderService;TP=;FS=null;TS=;AN=null;ANS=null;
thanks
RajeshHi Anudeep,
The question isNOT ABOUT the format of the URL which MII should use.
Using the same URL we are able to post the message from other MII versions with in the landscape( MII version 12.1.6 and MII version12.1.9) and through SOAP UI.
500 Internal server error Problem arises when the message is sent through the same URL from MII 12,1.4 Build(53) to PI 7.1 ( we tried https Post, XI Webservice, WebService action blocks)
Question:
Are thre any configuration settings specific to MII version12.1.4 Build 53 which needds to be set in MII to communicate to PI 7.1.
Thanks
Rajesh -
HTTP response error :Connection reset
Hi all,
I am getting following error in log while sending message to the trading partner and the main problem is that once this error comes then after that I am not able to send any more message to any of my Trading Partners. Even if I try to send message to any other Trading Partner, nothing comes in the B2B log and report as well. After restarting the B2B I am able to send message again to other Trading Partners.
Can anyone please tell the reason for getting this error? I also want to know that after getting this error once, why am I not able to send message to any Trading Partner?
2008.12.12 at 06:41:07:647: Thread-13: B2B - (WARNING)
Message Transmission Transport Exception
Transport Error Code is OTA-HTTP-SEND-1006
StackTrace oracle.tip.transport.TransportException: [IPT_HttpSendHttpResponseError] HTTP response error :Connection reset.
at oracle.tip.transport.TransportException.create(TransportException.java:91)
at oracle.tip.transport.basic.HTTPSender.send(HTTPSender.java:627)
at oracle.tip.transport.b2b.B2BTransport.send(B2BTransport.java:311)
at oracle.tip.adapter.b2b.transport.TransportInterface.send(TransportInterface.java:980)
at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1744)
at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:968)
at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:1147)
at oracle.tip.adapter.b2b.transport.AppInterfaceListener.onMessage(AppInterfaceListener.java:137)
at oracle.tip.transport.basic.jms.JMSMonitor.processMessages(JMSMonitor.java:610)
at oracle.tip.transport.basic.jms.JMSMonitor.run(JMSMonitor.java:236)
Caused by: java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:168)
at com.sun.net.ssl.internal.ssl.InputRecord.a(DashoA12275)
at com.sun.net.ssl.internal.ssl.InputRecord.read(DashoA12275)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA12275)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA12275)
at com.sun.net.ssl.internal.ssl.HandshakeOutStream.flush(DashoA12275)
at com.sun.net.ssl.internal.ssl.SunJSSE_az.a(DashoA12275)
at com.sun.net.ssl.internal.ssl.SunJSSE_az.a(DashoA12275)
at com.sun.net.ssl.internal.ssl.SunJSSE_ax.a(DashoA12275)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA12275)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.j(DashoA12275)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA12275)
at com.sun.net.ssl.internal.ssl.AppOutputStream.write(DashoA12275)
at java.io.ByteArrayOutputStream.writeTo(ByteArrayOutputStream.java:112)
at HTTPClient.HTTPConnection.sendRequest(HTTPConnection.java:3018)
at HTTPClient.HTTPConnection.handleRequest(HTTPConnection.java:2843)
at HTTPClient.HTTPConnection.setupRequest(HTTPConnection.java:2635)
at HTTPClient.HTTPConnection.Post(HTTPConnection.java:1107)
at oracle.tip.transport.basic.HTTPSender.send(HTTPSender.java:590)
... 8 more
2008.12.12 at 06:41:07:647: Thread-13: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.TransportInterface:send Error in sending message
2008.12.12 at 06:41:07:648: Thread-13: B2B - (INFORMATION) oracle.tip.adapter.b2b.msgproc.Request:outgoingRequestPostColab Request Message Transmission failed
2008.12.12 at 06:41:07:648: Thread-13: B2B - (DEBUG) DBContext beginTransaction: Enter
2008.12.12 at 06:41:07:648: Thread-13: B2B - (DEBUG) DBContext beginTransaction: Transaction.begin()
2008.12.12 at 06:41:07:648: Thread-13: B2B - (DEBUG) DBContext beginTransaction: Leave
2008.12.12 at 06:41:07:648: Thread-13: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:outgoingRequestPostColab [IPT_HttpSendHttpResponseError] HTTP response error :Connection reset.
Connection reset
2008.12.12 at 06:41:07:651: Thread-13: BusinessLogicLayer - (DEBUG) Authorization disabled. UserBootstrapped:false, useAuthorization:true, configType:Runtime
2008.12.12 at 06:41:07:652: Thread-13: BusinessLogicLayer - (DEBUG) Push Stack: updateBusinessMessage
2008.12.12 at 06:41:07:656: Thread-13: BusinessLogicLayer - (DEBUG) Pop Stack: updateBusinessMessage
2008.12.12 at 06:41:07:656: Thread-13: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:notifyApp retry value <= 0, so sending exception to IP_IN_QUEUE
2008.12.12 at 06:41:07:658: Thread-13: B2B - (DEBUG) Engine:notifyApp Enter
2008.12.12 at 06:41:07:663: Thread-13: B2B - (DEBUG) Enqueue Engine AQJMSCorrelationID = null
2008.12.12 at 06:41:07:663: Thread-13: B2B - (DEBUG) notifyApp:notifyApp Enqueue the ip exception message:
<Exception xmlns="http://integration.oracle.com/B2B/Exception" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<correlationId>null</correlationId>
<b2bMessageId>0AF77A6111E29ED374E000001BDE3D60</b2bMessageId>
<errorCode>AIP-50079</errorCode>
<errorText>Transport error: [IPT_HttpSendHttpResponseError] HTTP response error :Connection reset.
Connection reset</errorText>
<errorDescription>
<![CDATA[Machine Info: (dys094w004)
Transport error: [IPT_HttpSendHttpResponseError] HTTP response error :Connection reset.
Connection reset ]]>
</errorDescription>
<errorSeverity>2</errorSeverity>
</Exception>
2008.12.12 at 06:41:07:692: Thread-13: B2B - (DEBUG) Engine:notifyApp Exit
2008.12.12 at 06:41:07:693: Thread-13: B2B - (DEBUG) DBContext commit: Enter
2008.12.12 at 06:41:07:696: Thread-13: B2B - (DEBUG) DBContext commit: Transaction.commit()
2008.12.12 at 06:41:07:696: Thread-13: B2B - (DEBUG) DBContext commit: Leave
2008.12.12 at 06:41:07:696: Thread-13: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:outgoingRequest Exit
2008.12.12 at 06:41:07:696: Thread-13: B2B - (INFORMATION) oracle.tip.adapter.b2b.engine.Engine:processOutgoingMessage:
***** REQUEST MESSAGE *****
Please help.
Thanks & Regards,
Anuj DwivediHi Sinkar,
Thanks for the reply. I confirmed it with my Trading Partner and their server is not running but still I want to know that why am I not able to send message to any other Trading Partner after getting this error once. And if I restart the server, it again acts normally and I am able to send message to other Trading Partners.
SSL is configured properly because I was able to communicate with this Trading Partner earlier when their server was up.
We are working on 10.1.2.3.0 with 7457066 MLR 5 patch. Please guide if any other patch required.
Thanks for the help.
Warm Regards,
Anuj Dwivedi -
Hi Iam using Flex to display pie chart in my application. Im
getting the pie chart in Mozilla firefox but in IE iam getting Http
Request Error. Iam giving the code what i wrote. Please find. can
anybody help me in this? thanks
mxml file
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml"
layout="absolute" width="300" height="232" backgroundColor="white"
usePreloader="true">
<mx:Script>
<![CDATA[
import mx.messaging.channels.StreamingAMFChannel;
import mx.charts.series.LineSeries;
import mx.rpc.events.ResultEvent;
import mx.rpc.events.FaultEvent;
import mx.controls.Alert;
import mx.controls.*;
import mx.events.*;
[Bindable]
public var orXmlList:XMLList;
[Bindable]
public var orXml:XML;
[Bindable]
public var orderCount:String = "0";
private function getOrXML():void{
orRPC.cancel();
orRPC.send();
public function handleXML(event:ResultEvent):void
orXml = event.result as XML;
orXmlList = event.result.orderResultsData.order as XMLList;
var orMetaString:String = "orMeta";
orderCount = orXml.orderResultsData[0].orMeta[0].orderCount;
public function handleFault(event:FaultEvent):void
Alert.show(event.fault.faultString, "Error");
]]>
</mx:Script>
<mx:HTTPService result="handleXML(event);"
fault="handleFault(event);" id="orRPC" resultFormat="e4x"
method="POST" url="/global/corpOrderResults.csc"
useProxy="true">
</mx:HTTPService>
<mx:PieChart x="0" y="46.95" id="orPieChart" width="168"
height="126" dataProvider="{orXmlList}"
creationComplete="getOrXML();" showDataTips="true">
<mx:series>
<mx:PieSeries nameField="name" field="count" />
</mx:series>
</mx:PieChart>
<mx:Legend dataProvider="{orPieChart}" x="141.25"
y="56.6" verticalGap="0"/>
<mx:Label id="orInfoLabel" x="0" y="20.95" text="Orders
updated in the last 30 days: {orderCount}" width="283.4"
height="18"/>
</mx:Application>
Text
And my JSp page is:
<div id="flashcontent">
</div>
<script type="text/javascript">
var so = new SWFObject("/global/flash/litigationByNoc.swf",
"mymovie", "400", "200", "8", "#336699");
so.write("flashcontent");
</script>Hi,
I have checked the logs. I am getting errors like the below:
1. com.sap.engine.services.servlets_jsp.server.deploy.impl.exceptions.WCEApplicationNotStartedException: The application [sap.com/com.sap.portal.ivs.iviewservice] is configured to have ALWAYS start up mode. Currently it is in STOPPED status - because of this it will not be started implicitly by the Web Container service and any internal operation that needed this application to be running will fail. There are two possible reasons for STOPPED status: 1) The application failed to start during cluster startup. 2) The application is stopped by system administrator.
2. .info.exception.WD4VCRuntimeException: FAILED: process plan id: generatedBindPlan_CWG_UI action: null
3. Thread HTTP Worker [2] failed to acquire exclusive lock on client session
But the data is being processed by the code correctly. I tried printing the final values of the o/p and the values are as expected.
Maybe you are looking for
-
I can't seem to update my apps or make any purchases on from my account. Nothing has changed with my credit card information and for some reason the iTunes Store tells me my information is incorrect. What do I do?
-
My profile was 'fixed' and I am trying to return to functionality
I had a bug on my laptop and the system experts removed my profile. That got rid of all of my workspace information. I had a backup, so I started copying everything back. I am close to getting things back, but this isn't horeshoes! I currently get th
-
Live Update, Is it me...?
Hello, the newbie using MSI boards back again. I am wondering if there is something up with the Live Update Site or it something on my end. I have gone to the Live Update site at least 30 times within the last several days and can't seem to get anyth
-
I have recieved this error report when I attempt tolog into iTunes. The report is C:\DOCUME~1\COMPAQ~\LOCALS~1Temp\7da5_appcompat.txt How do I fix this?
-
How to INCREASE Battery Capacity
Just drop the advertising - I know that battery capacity varies, and that the capacity of the phone battery - regardless of models, will degrade as the phone is used. I contest the "specialists" to provide some straight simple guidelines to how one