Error creating a response stream

I am trying to connect a client running on WLS 6.1 sp4 to a server on WLS 5.1 sp12. When the client running on vip1.xxxxx054.yyyy.net, the client firewall
sees us leaving as 20.56.349.20/21, and the server fw sees us
come in as 20.56.349.20/21, but when the server tries to send a response, they
get a hostname not found because they are trying to respond to
vip1.xxxxx54.yyyyy.net.
The client servers are clustered. Is it something in weblogic configuration ?
Basically, we
are wondering how the server is getting the vip1.xxxxx054.yyyyy.net information .
Since the call is from one App server to another appserver, this is a TCP/IP connection and the response should be on the same socket connection as the request..

Hi Sunny,
I get the below error in the log file.
] ERROR Exception during EJB call, Ignoring and trying Webservice Call
com.virsa.ae.service.ServiceException: Exception in getting the results from the EJB service : com/virsa/cc/xsys/webservices/dto/WSRAInputParamDTO
     at java.lang.Throwable.<init>(Throwable.java:216)
     at java.lang.Exception.<init>(Exception.java:59)
     at com.virsa.ae.core.AEException.<init>(AEException.java:49)
     at com.virsa.ae.service.ServiceException.<init>(ServiceException.java:45)
     at com.virsa.ae.service.sap.RiskAnalysisEJB53DAO.getViolations(RiskAnalysisEJB53DAO.java:294)
     at com.virsa.ae.service.sap.RiskAnalysisEJB53DAO.getViolations(RiskAnalysisEJB53DAO.java:418)
     at com.virsa.ae.service.sap.RiskAnalysisEJB53DAO.determineRisks(RiskAnalysisEJB53DAO.java:526)
     at com.virsa.ae.service.sap.RiskAnalysis53DAO.determineRisks(RiskAnalysis53DAO.java:103)
     at com.virsa.ae.accessrequests.bo.RiskAnalysisBO.findViolations(RiskAnalysisBO.java:182)
     at com.virsa.ae.accessrequests.bo.RiskAnalysisBO.findViolations(RiskAnalysisBO.java:80)
     at com.virsa.ae.accessrequests.bo.RequestBO.saveRiskAnalysis(RequestBO.java:3984)
     at com.virsa.ae.accessrequests.bo.RequestBO.saveNewRequest(RequestBO.java:369)
     at com.virsa.ae.accessrequests.actions.CreateRequestAction.createRequest(CreateRequestAction.java:325)
     at com.virsa.ae.accessrequests.actions.EUCreateRequestAction.createRequestHandler(EUCreateRequestAction.java:126)
Also, if I try to do a risk analysis I get an error message that system is not found.  Any Ideas?
Thanks!
Chinmaya

Similar Messages

  • Error while creating New Responsibility

    Hi
    We have a R12 Instance. While defining a new responsibility I am getting a error as " ORA-01403: no data found, FRM-40735: ON-UPDATE trigger raised unhandled exception ORA--4063

    Hi,
    Please see these docs.
    FNDSCRSP - Creating New Responsibility Gives Errors FRM-40735 ORA-04068 [ID 239530.1
    ORA-01403 FRM-40735 WHEN-NEW-INSTANCE Trigger Raised Unhandled Exception ORA-06502 [ID 437087.1]
    Thanks,
    Hussein

  • Create RFx Response: An error occurred in the PD Layer transaction terminated

    Hello Experts,
    Currently we are in SRM 7.02 implemenation: we are facing below problem while creating RFx response with popup screen.
                             "An error occurred in the PD Layer transaction terminated"
    For this we have checked below
    1. http://scn.sap.com/thread/1912966    ----> it didn't help
    2. We have assigned SAP_ALL role to bidder also ----> Facing same issue
    3. Check Number ranges ---> everything is fine.
    there is no clue from above points.
    Thanks & Regards
    Sandeep.

    Hello Sandeep,
    I am facing the same problem while creating the RFx response in SUS side. Same error occurred while i am creating the Rfx response with bidder.
    error: An error occurred in the PD Layer transaction terminated
    Could you please let me know, did you find any solution for this issue?
    Thanks in advance!!
    Thanks,
    Anil

  • Exception creating response stream in weblogic

    Hi,
    i have a small piece of java code which connects AgilePLM system and creates the session. in Jdeveloper its working but when i convert is as webservice and try to invoke iam getting below exception
    weblogic.rjvm.PeerGoneException: ; nested exception is: weblogic.utils.NestedException: java.lang.AssertionError: Exception creating response stream
    here is my java function
    public String connect() {
    try{
    IAgileSession session = null;
    AgileSessionFactory factory;
    factory = AgileSessionFactory.getInstance("host");
    HashMap params = new HashMap();
    params.put(AgileSessionFactory.USERNAME, "user");
    params.put(AgileSessionFactory.PASSWORD, "password");
    session =factory.createSession(params);
    }catch(Exception e) { }
    i tried all possible ways to resolve this...any help would be appreciated
    Regards,
    Sudhakar.M

    i solved.
    1) Copy "wlsauth.jar" and "crypto.jar" to add-on server from agile server.
    from: [Agile_Home]\agileDomain\lib
    to: e.g. C:\agile9312_lib
    2) Set them as CLASSPATH env. via system property.
    e.g. C:\agile_9312lib\wlsauth.jar;C:\agile9312_lib\crypto.jar
    3) start WebLogic
    i also tried below instead, but it was not working. why??
    Copy jars to user domain's lib:
    e.g. C:oracle:middleware\user_projects\domains\base_domain\lib

  • How do I create a JMF streaming server with QuickTime Web Client?

    Can anyone give me some pointers on how to create a JMF streaming server and user can type in a rtsp URL on the web browser and be able to view the streaming video in QuickTime player?
    thanks

    JMF does not have RTSP server capabilities built-in. You would have to program the RTSP request-response protocol yourself.

  • Thread: 11gPS2 : Error creating model from wsdl while creating a WebService

    Hi ,
    I am trying to create a Web Service Proxy using Jdev.I am using a WSDL file located in my local system for the same. I choose all default options but the proxy is not created due to the following error -
    "Error creating model from wsdl <wsdl_name> : A class/interface with the same name xyz already in use"
    https://picasaweb.google.com/sudipto.desmukh/ADFIssues?authkey=Gv1sRgCJeF2bWcoM_ZBg#5610073699826050514
    I found a few threads which had similar issues but the solutions didnot work for me -
    1)Error creating model from wsdl (Create separate model projects for proxies , since in the existing model project I already had generated files using create WebServiceData control wizard)
    2)Error when creating Web Service Proxy (there are no duplicate variables or schemas in my wsdl)
    Can someone please suggest what might be wrong ?
    Thanks

    Thanks for your reply Vishal.Pasting the wsdl -
    <definitions xmlns:m11="urn:iwaysoftware:ibse:jul2003:ZBAPI_SALES_DOC_FLOW:response" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:m1="urn:iwaysoftware:ibse:jul2003:ZBAPI_SALES_DOC_FLOW" targetNamespace="urn:schemas-iwaysoftware-com:iwse" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="urn:schemas-iwaysoftware-com:iwse" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"><types><xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:schemas-iwaysoftware-com:iwse" elementFormDefault="qualified"><xs:element name="ibsinfo"><xs:complexType><xs:sequence><xs:element name="service" type="xs:string"/><xs:element name="method" type="xs:string"/><xs:element name="license" type="xs:string"/><xs:element name="disposition" type="xs:string" minOccurs="0"/><xs:element name="Username" type="xs:string" minOccurs="0"/><xs:element name="Password" type="xs:string" minOccurs="0"/><xs:element name="language" type="xs:string" minOccurs="0"/></xs:sequence></xs:complexType>
    </xs:element><xs:element name="adapterexception"><xs:complexType><xs:sequence><xs:element name="error" type="xs:string"/></xs:sequence></xs:complexType></xs:element>
    </xs:schema><xs:schema xmlns:m1="urn:iwaysoftware:ibse:jul2003:ZBAPI_SALES_DOC_FLOW" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:iwaysoftware:ibse:jul2003:ZBAPI_SALES_DOC_FLOW" xmlns:rfc="urn:iwaysoftware:ibse:jul2003:ZBAPI_SALES_DOC_FLOW" elementFormDefault="qualified"><xs:element name="ZBAPI_SALES_DOC_FLOW"><xs:complexType><xs:sequence><xs:element name="ZBAPI_SALES_DOC_FLOW"><xs:complexType><xs:all><xs:element name="BELEGTYP" minOccurs="0"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="1"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="COMWA" type="rfc:VBCO6" minOccurs="0"/><xs:element name="I_BSTKD" minOccurs="0"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="35"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="I_VBELN" minOccurs="0"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="10"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="N_STUFEN" minOccurs="0"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="2"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="V_STUFEN" minOccurs="0"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="2"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="T_DOCFLOW" minOccurs="0"><xs:complexType><xs:sequence><xs:element maxOccurs="unbounded" name="item" type="rfc:ZVDOCFLOW" minOccurs="0"/></xs:sequence></xs:complexType>
    </xs:element><xs:element name="T_IDOCINFO" minOccurs="0"><xs:complexType><xs:sequence><xs:element maxOccurs="unbounded" name="item" type="rfc:ZVIDOCINFO" minOccurs="0"/></xs:sequence></xs:complexType>
    </xs:element><xs:element name="T_RETURN" minOccurs="0"><xs:complexType><xs:sequence><xs:element maxOccurs="unbounded" name="item" type="rfc:BAPIRET2" minOccurs="0"/></xs:sequence></xs:complexType>
    </xs:element><xs:element name="VBFA" minOccurs="0"><xs:complexType><xs:sequence><xs:element maxOccurs="unbounded" name="item" type="rfc:VBFA" minOccurs="0"/></xs:sequence></xs:complexType></xs:element></xs:all></xs:complexType></xs:element></xs:sequence></xs:complexType>
    </xs:element><xs:complexType name="ZVIDOCINFO"><xs:sequence><xs:element name="DOCNR"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="10"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="IDOCNR"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="16"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="CREDAT"><xs:simpleType><xs:restriction base="xs:string"><xs:pattern value="\d{4}-\d{2}-\d{2}"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="STATUS"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="2"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="DESCR"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="73"/></xs:restriction></xs:simpleType></xs:element></xs:sequence>
    </xs:complexType><xs:complexType name="BAPIRET2"><xs:sequence><xs:element name="TYPE"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="1"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="ID"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="20"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="NUMBER"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="3"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="MESSAGE"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="220"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="LOG_NO"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="20"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="LOG_MSG_NO"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="6"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="MESSAGE_V1"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="50"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="MESSAGE_V2"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="50"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="MESSAGE_V3"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="50"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="MESSAGE_V4"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="50"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="PARAMETER"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="32"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="ROW" type="xs:int"/><xs:element name="FIELD"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="30"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="SYSTEM"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="10"/></xs:restriction></xs:simpleType></xs:element></xs:sequence>
    </xs:complexType><xs:complexType name="ZVDOCFLOW"><xs:sequence><xs:element name="VBELN"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="10"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="POSNN"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="6"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="MATNR"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="18"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="DESCR"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="132"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="ERDAT"><xs:simpleType><xs:restriction base="xs:string"><xs:pattern value="\d{4}-\d{2}-\d{2}"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="RFMNG"><xs:simpleType><xs:restriction base="xs:decimal"><xs:totalDigits value="15"/><xs:fractionDigits value="3" fixed="true"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="MEINS"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="3"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="BEZEI"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="20"/></xs:restriction></xs:simpleType></xs:element></xs:sequence>
    </xs:complexType><xs:complexType name="VBFA"><xs:sequence><xs:element name="MANDT"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="3"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="VBELV"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="10"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="POSNV"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="6"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="VBELN"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="10"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="POSNN"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="6"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="VBTYP_N"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="1"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="RFMNG"><xs:simpleType><xs:restriction base="xs:decimal"><xs:totalDigits value="15"/><xs:fractionDigits value="3" fixed="true"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="MEINS"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="3"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="RFWRT"><xs:simpleType><xs:restriction base="xs:decimal"><xs:totalDigits value="15"/><xs:fractionDigits value="2" fixed="true"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="WAERS"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="5"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="VBTYP_V"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="1"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="PLMIN"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="1"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="TAQUI"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="1"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="ERDAT"><xs:simpleType><xs:restriction base="xs:string"><xs:pattern value="\d{4}-\d{2}-\d{2}"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="ERZET"><xs:simpleType><xs:restriction base="xs:string"><xs:pattern value="\d{2}:\d{2}:\d{2}"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="MATNR"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="18"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="BWART"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="3"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="BDART"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="2"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="PLART"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="1"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="STUFE"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="2"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="LGNUM"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="3"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="AEDAT"><xs:simpleType><xs:restriction base="xs:string"><xs:pattern value="\d{4}-\d{2}-\d{2}"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="FKTYP"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="1"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="BRGEW"><xs:simpleType><xs:restriction base="xs:decimal"><xs:totalDigits value="15"/><xs:fractionDigits value="3" fixed="true"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="GEWEI"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="3"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="VOLUM"><xs:simpleType><xs:restriction base="xs:decimal"><xs:totalDigits value="15"/><xs:fractionDigits value="3" fixed="true"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="VOLEH"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="3"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="FPLNR"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="10"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="FPLTR"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="6"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="RFMNG_FLO" type="xs:double"/><xs:element name="RFMNG_FLT" type="xs:double"/><xs:element name="VRKME"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="3"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="ABGES" type="xs:double"/><xs:element name="SOBKZ"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="1"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="SONUM"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="16"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="KZBEF"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="1"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="NTGEW"><xs:simpleType><xs:restriction base="xs:decimal"><xs:totalDigits value="13"/><xs:fractionDigits value="3" fixed="true"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="LOGSYS"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="10"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="WBSTA"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="1"/></xs:restriction></xs:simpleType></xs:element></xs:sequence>
    </xs:complexType><xs:complexType name="VBCO6"><xs:sequence><xs:element name="MANDT"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="3"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="VBELN"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="10"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="POSNR"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="6"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="ETENR"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="4"/></xs:restriction></xs:simpleType></xs:element></xs:sequence></xs:complexType>
    </xs:schema><xs:schema xmlns:m11="urn:iwaysoftware:ibse:jul2003:ZBAPI_SALES_DOC_FLOW:response" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:iwaysoftware:ibse:jul2003:ZBAPI_SALES_DOC_FLOW:response" xmlns:rfc="urn:iwaysoftware:ibse:jul2003:ZBAPI_SALES_DOC_FLOW:response" elementFormDefault="qualified"><xs:element name="ZBAPI_SALES_DOC_FLOWResponse"><xs:complexType><xs:sequence><xs:element name="ZBAPI_SALES_DOC_FLOW.Response"><xs:complexType><xs:all><xs:element name="BELEGTYP_BACK" minOccurs="0"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="1"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="T_DOCFLOW" minOccurs="0"><xs:complexType><xs:sequence><xs:element maxOccurs="unbounded" name="item" type="rfc:ZVDOCFLOW" minOccurs="0"/></xs:sequence></xs:complexType>
    </xs:element><xs:element name="T_IDOCINFO" minOccurs="0"><xs:complexType><xs:sequence><xs:element maxOccurs="unbounded" name="item" type="rfc:ZVIDOCINFO" minOccurs="0"/></xs:sequence></xs:complexType>
    </xs:element><xs:element name="T_RETURN" minOccurs="0"><xs:complexType><xs:sequence><xs:element maxOccurs="unbounded" name="item" type="rfc:BAPIRET2" minOccurs="0"/></xs:sequence></xs:complexType>
    </xs:element><xs:element name="VBFA" minOccurs="0"><xs:complexType><xs:sequence><xs:element maxOccurs="unbounded" name="item" type="rfc:VBFA" minOccurs="0"/></xs:sequence></xs:complexType></xs:element></xs:all></xs:complexType></xs:element>
    </xs:sequence><xs:attribute name="cid" use="required" type="xs:string"/></xs:complexType>
    </xs:element><xs:complexType name="ZVIDOCINFO"><xs:sequence><xs:element name="DOCNR"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="10"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="IDOCNR"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="16"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="CREDAT"><xs:simpleType><xs:restriction base="xs:string"><xs:pattern value="\d{4}-\d{2}-\d{2}"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="STATUS"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="2"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="DESCR"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="73"/></xs:restriction></xs:simpleType></xs:element></xs:sequence>
    </xs:complexType><xs:complexType name="BAPIRET2"><xs:sequence><xs:element name="TYPE"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="1"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="ID"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="20"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="NUMBER"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="3"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="MESSAGE"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="220"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="LOG_NO"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="20"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="LOG_MSG_NO"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="6"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="MESSAGE_V1"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="50"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="MESSAGE_V2"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="50"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="MESSAGE_V3"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="50"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="MESSAGE_V4"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="50"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="PARAMETER"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="32"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="ROW" type="xs:int"/><xs:element name="FIELD"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="30"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="SYSTEM"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="10"/></xs:restriction></xs:simpleType></xs:element></xs:sequence>
    </xs:complexType><xs:complexType name="ZVDOCFLOW"><xs:sequence><xs:element name="VBELN"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="10"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="POSNN"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="6"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="MATNR"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="18"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="DESCR"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="132"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="ERDAT"><xs:simpleType><xs:restriction base="xs:string"><xs:pattern value="\d{4}-\d{2}-\d{2}"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="RFMNG"><xs:simpleType><xs:restriction base="xs:decimal"><xs:totalDigits value="15"/><xs:fractionDigits value="3" fixed="true"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="MEINS"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="3"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="BEZEI"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="20"/></xs:restriction></xs:simpleType></xs:element></xs:sequence>
    </xs:complexType><xs:complexType name="VBFA"><xs:sequence><xs:element name="MANDT"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="3"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="VBELV"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="10"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="POSNV"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="6"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="VBELN"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="10"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="POSNN"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="6"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="VBTYP_N"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="1"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="RFMNG"><xs:simpleType><xs:restriction base="xs:decimal"><xs:totalDigits value="15"/><xs:fractionDigits value="3" fixed="true"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="MEINS"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="3"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="RFWRT"><xs:simpleType><xs:restriction base="xs:decimal"><xs:totalDigits value="15"/><xs:fractionDigits value="2" fixed="true"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="WAERS"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="5"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="VBTYP_V"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="1"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="PLMIN"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="1"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="TAQUI"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="1"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="ERDAT"><xs:simpleType><xs:restriction base="xs:string"><xs:pattern value="\d{4}-\d{2}-\d{2}"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="ERZET"><xs:simpleType><xs:restriction base="xs:string"><xs:pattern value="\d{2}:\d{2}:\d{2}"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="MATNR"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="18"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="BWART"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="3"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="BDART"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="2"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="PLART"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="1"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="STUFE"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="2"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="LGNUM"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="3"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="AEDAT"><xs:simpleType><xs:restriction base="xs:string"><xs:pattern value="\d{4}-\d{2}-\d{2}"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="FKTYP"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="1"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="BRGEW"><xs:simpleType><xs:restriction base="xs:decimal"><xs:totalDigits value="15"/><xs:fractionDigits value="3" fixed="true"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="GEWEI"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="3"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="VOLUM"><xs:simpleType><xs:restriction base="xs:decimal"><xs:totalDigits value="15"/><xs:fractionDigits value="3" fixed="true"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="VOLEH"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="3"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="FPLNR"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="10"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="FPLTR"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="6"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="RFMNG_FLO" type="xs:double"/><xs:element name="RFMNG_FLT" type="xs:double"/><xs:element name="VRKME"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="3"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="ABGES" type="xs:double"/><xs:element name="SOBKZ"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="1"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="SONUM"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="16"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="KZBEF"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="1"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="NTGEW"><xs:simpleType><xs:restriction base="xs:decimal"><xs:totalDigits value="13"/><xs:fractionDigits value="3" fixed="true"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="LOGSYS"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="10"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="WBSTA"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="1"/></xs:restriction></xs:simpleType></xs:element></xs:sequence></xs:complexType></xs:schema>
    </types><message name="ZBAPI_SALES_DOC_FLOWIn"><part element="m1:ZBAPI_SALES_DOC_FLOW" name="parameters"/>
    </message><message name="ZBAPI_SALES_DOC_FLOWOut"><part element="m11:ZBAPI_SALES_DOC_FLOWResponse" name="parameters"/>
    </message><message name="ZBAPI_SALES_DOC_FLOWHeader"><part element="tns:ibsinfo" name="header"/>
    </message><message name="AdapterException"><part element="tns:adapterexception" name="fault"/>
    </message><portType name="ZBAPI_SALES_DOC_FLOWSoap"><operation name="ZBAPI_SALES_DOC_FLOW"><documentation/><input message="tns:ZBAPI_SALES_DOC_FLOWIn"/><output message="tns:ZBAPI_SALES_DOC_FLOWOut"/><fault message="tns:AdapterException" name="AdapterExceptionFault"/></operation>
    </portType><binding name="ZBAPI_SALES_DOC_FLOWSoap" type="tns:ZBAPI_SALES_DOC_FLOWSoap"><soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/><operation name="ZBAPI_SALES_DOC_FLOW"><soap:operation style="document" soapAction="ZBAPI_SALES_DOC_FLOW.ZBAPI_SALES_DOC_FLOWRequest@production@@"/><input><soap:body use="literal"/><soap:header message="tns:ZBAPI_SALES_DOC_FLOWHeader" use="literal" part="header"/>
    </input><output><soap:body use="literal"/>
    </output><fault name="AdapterExceptionFault"><soap:fault name="AdapterExceptionFault" use="literal"/></fault></operation>
    </binding><service name="ZBAPI_SALES_DOC_FLOW"><documentation/><port name="ZBAPI_SALES_DOC_FLOWSoap1" binding="tns:ZBAPI_SALES_DOC_FLOWSoap"><soap:address location="http://f4ofmsoaa01d.dev.life:8001/ibse/IBSEServlet/XDSOAPRouter"/></port></service></definitions>

  • Error flushing the output stream in Sun One server

    Hi All,
    I was running my servlet code in iPlanet 6.0 version and it was working fine. I upgraded my web server to new Sun One server (Oracle-iPlanet-Web-Server-7.0.9). With the new web server almost 90% of my application works fine, but there is a features in my application to download an Excel sheet by clicking a button. This feature is failing in new Sun One web server.
    Below are my piece of code and the error log I m getting. Can anyone tell me how I can fix this error, I mean is there any web server specific change or configuration parameter need to be set.
    Please ask for any information regarding my server configuration settings if needed for finding a solution for this
    Code:
    byte abyte0[] = new byte[1024];
    BufferedInputStream bufferedinputstream=null;
    BufferedOutputStream bufferedoutputstream=null;
    java.io.InputStream inputstream = httpurlconnection.getInputStream();
    bufferedinputstream = new BufferedInputStream(inputstream);
    bufferedoutputstream = new BufferedOutputStream(httpservletresponse.getOutputStream());
    int j;
    long byteCount=0;
    while((j = bufferedinputstream.read(abyte0, 0, 1024)) != -1)
    byteCount=byteCount+j;
    if(logger != null && logger.traceOn())
    logger.log("total"+byteCount);
    logger.log("Read bytes:"+j);
    bufferedoutputstream.write(abyte0, 0, j);
    if(logger != null && logger.traceOn())
    logger.log("Wrote bytes:"+j);
    bufferedoutputstream.flush(); // <<<<<< ERROR POINT >>>>>>
    Error Log :
    ClientAbortException: java.io.IOException: WEB8004: Error flushing the output stream
    at org.apache.coyote.tomcat5.OutputBuffer.doFlush(OutputBuffer.java:343)
    at org.apache.coyote.tomcat5.OutputBuffer.flush(OutputBuffer.java:313)
    at org.apache.coyote.tomcat5.CoyoteOutputStream.flush(CoyoteOutputStream.java:147)
    at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:124)
    at com.reuters.bdec.as.ASRequestHandler.processResponse(ASRequestHandler.java:285)
    at com.reuters.bdec.as.ASRequestHandler.initiateGetRequest(ASRequestHandler.java:89)
    at com.reuters.bdec.as.ASRequestHandler.proceedToDestination(ASRequestHandler.java:220)
    at com.reuters.bdec.as.ASExtension.authorisationCheck(ASExtension.java:84)
    at com.reuters.bdec.as.ASExtension.doGet(ASExtension.java:114)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:794)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:915)
    at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:398)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:277)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:255)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:188)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:586)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:556)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:187)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:586)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:556)
    at com.sun.webserver.connector.nsapi.NSAPIProcessor.service(NSAPIProcessor.java:160)
    Caused by: java.io.IOException: WEB8004: Error flushing the output stream
    at com.sun.webserver.connector.nsapi.NSAPIProcessor.action(NSAPIProcessor.java:243)
    at org.apache.coyote.Response.action(Response.java:197)
    at org.apache.coyote.tomcat5.OutputBuffer.doFlush(OutputBuffer.java:339)
    ... 20 more

    Don't flush it yourself. The servlet container will automatically flush for you once its send buffer is full. You can change the size of the send buffer though.

  • Error message: This photo stream is no longer available

    I created a shared photo stream, but tis error maessage appears.
    error message: This photo stream is no longer available

    Contacted apple care. Apparently servers were down.

  • Multiple response streams ?   HTML and binary ?

    Hello,
    Is it possible for a Servlet to create two responses or two output streams, with one as HTML and the other as binary?
    The code below only seems to send the first (HTML) section and seems to ignore the second (binary) section ?
    Thanks alot !!!
    James
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.io.*;
    public class MinimalBinaryStream extends HttpServlet
      public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
        doGet(request, response);
      public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
        /*----------Below: Send HTML Response----------*/
        response.setContentType("text/html");
        ServletOutputStream out = response.getOutputStream();
        out.print("<h3>Text message to say binary file is on its way</h3>");
        out.flush();
        out.close();
        /*----------Below: Send Binary Response----------*/
        response.reset();
        response.setContentType("application/octet-stream");
        response.setContentLength(3);
        out = response.getOutputStream();
        out.write(0x31);
        out.write(0x32);
        out.write(0x33);
        out.flush();
        out.close();
    }

    The servlet validates the serial number. If the
    serial number submitted is invalid, then the servlet
    simply sends an HTML message to the client saying
    "Invalid serial number, please try again, etc,
    etc".
    If the serial number is valid, then the server
    encrypts it into a ZIP file and sends the ZIP file to
    the client. (This part is working perfectly by the
    way.)It sounds like you're not really mixing the two types of data in a single response... You're doing one or the other depending upon the value of some data the client has sent to the server
    I wouldn't use the sendRedirect method off of the response. That causes a new get request to be issued from the client which is not necessary. I'd use the RequestDispatcher, preserving the initial request and forwarding both the request and response to another resource on the server. The client is unaware of any of it.
    if ( serial number valid ) {
         // encrypt to ZIP
         // send zip to client on response...
    } else {
         ResquestDispatcher dispatcher = request.getRequestDispatcher( "redirect.html" );
         dispatcher.forward( request, response );
    }http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/RequestDispatcher.html
    What would be really nice, is if the servlet could
    also send an HTML message saying "Thanks for your
    serial number, here is your licence.ZIP, etc,
    etc".For this, maybe you could create a jsp page with a link that pointed to the ZIP file on the server. You would define the name dynamically, and attach the name to the request via setAttribute. Then use that same value in the href value on the jsp page. via request.getAttribute The jsp page would contain the message in html and the client would obtain the zip from the link. And use the RequestDispatcher to forward to the jsp page from the servlet. Place the jsp inside /WEB-INF so that by itself it is not accessble to the client. Only the server code can get to it.

  • Servlet with 2 Response Streams

    I want to create a Servlet with 2 response streams. I need to use 1 response Stream to send Continuous Updates received on the server
    and the other response Stream would be used to send Heartbeats to the Client. I tried to create the Servlet but the response I create to send the continuous data just stops sending data to the Client after many attempts. In this attached Servlet, The response for continuous data stopped after 150 refreshes.
    Please let me know how to fix the issue. I tried reset() too but does not seem to work. Will very much appreciate any help.
    package com.XX;
    import java.io.IOException;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    public class TestServlet extends HttpServlet{
         private static final long serialVersionUID = 1L;
         public static int count = 0;
         private TestSave testSave = null;
         private HttpServletResponse resp = null;
         public void init(){
              testSave = new TestSave();
         protected void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException {
              count ++;
              if(testSave == null){
                   System.out.println(" test save = null");
                   return;
              if(testSave.getRes()==null){
              System.out.println(" test save resp is null");          
              testSave.setRes(res);
              res.getWriter().println(" Initial Daily count Response ");
              }else{
              res.getWriter().println(" Daily response " + count);
              //res.getWriter().close();
         System.out.println(" test save resp is not null");
              resp = testSave.getRes();
              String data = "Count is "+count;
              System.out.println(" Writing response " + resp);
              System.out.println(" Writing Data " + data);
              System.out.println(" Response committed 1 - " + count + " : " + resp.isCommitted());
              resp.getWriter().println(data);
              System.out.println(" Response committed 2 - " + count + " : " + resp.isCommitted());
              System.out.println(" Daily Response committed ??? " + res.isCommitted());
         protected void doPost(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException {
              doGet(req,res);          
    }

    The TestSave code.
    import javax.servlet.http.HttpServletResponse;
    public class TestSave {
         HttpServletResponse res;
         public HttpServletResponse getRes() {
              return res;
         public void setRes(HttpServletResponse res) {
              this.res = res;
    }

  • Error creating request when using CUP in GRC 5.3

    Hello guru's
    when user is trying to create request in CUP , he is facing an error message at top indicating Error Creating Request ,
    The error message is " * Exception in getting the results from the web service : Service call exception; nested exception is:  java.lang.Exception: Incorrect content-type found 'text/html' * "
    can anyone help me how to trace the problem.
    thanks and regards,
    keerthi

    HI all
    I am also gettting same error like this..We created CUP Requests one hour before ..But we are not able to create CUP Requests now.. I got below error message in system log.
    Risk analysis failed: Exception in getting the results from the web service : Service call exception; nested exception is: com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (401) Unauthorized. The requested URL was:"http://c700u121.com:50000/SAPGRC_CCRiskAnalysis_V01/Config1?wsdl&style=document"
    2012-03-08 13:05:25,558 [SAPEngine_Application_Threadimpl:3]_23 ERROR com.virsa.ae.core.BOException: Exception in getting the results from the web service : Service call exception; nested exception is:
    com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (401) Unauthorized. The requested URL was:"http://c700u121.com:50000/SAPGRC_CCRiskAnalysis_V01/Config1?wsdl&style=document"
    com.virsa.ae.core.BOException: Exception in getting the results from the web service : Service call exception; nested exception is:
    com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (401) Unauthorized. The requested URL was:"http://c700u121.com:50000/SAPGRC_CCRiskAnalysis_V01/Config1?wsdl&style=document"
    at com.virsa.ae.accessrequests.bo.RiskAnalysisBO.findViolations(RiskAnalysisBO.java:199)
    at com.virsa.ae.accessrequests.bo.RiskAnalysisBO.findViolations(RiskAnalysisBO.java:80)
    at com.virsa.ae.accessrequests.bo.RequestBO.saveRiskAnalysis(RequestBO.java:4087)
    at com.virsa.ae.accessrequests.bo.RequestBO.saveNewRequest(RequestBO.java:408)
    at com.virsa.ae.accessrequests.actions.CreateRequestAction.createRequest(CreateRequestAction.java:381)

  • Error creating rebate memo in VBO2

    Hi Guys,
    May I request please for your help and expertise on my error. I have executed the pay button in VBO2 to give partial payment to customer for the rebates incurred. After populating the amount that will be paid, I clicked "save". However, I got a pop up error message that says: "Error Creating rebate credit memos (see next warning message). When I clicked enter, I once again receive pop-up error message: "Plant does not exist - please re-enter". Could you help me, please, how to correct this and make those errors disappear?
    Thanks and I would really appreciate your help.
    Best regards,
    Lem

    Hello Amit,
    Thanks so much for your response. I have checked and no plant is maintained for the customer. However, I have checked another rebate agreement and that plant is not maintained for the customer, but it did not encounter the error.
    Thanks and have a great day ahead.
    Best regards,
    Lem

  • Error:widget: CFGRID: Response is empty

    I've an error on the Coldfusion Ajax logger : "error:widget:
    CFGRID: Response is empty". The headings of the cfgrid appear but
    the contents not.
    Here the Coldfusion Ajax logger answer :
    - info:widget: Data loaded for grid, id: refTableau
    - error:widget: CFGRID: Response is empty
    - info:http: CFC invocation response:
    - info:widget: Creating window: cf_window1191833821003
    - info:widget: Created grid, id: refTableau
    - info:http: HTTP GET
    /bulte/admin/produits/gridDataManager.cfc?method=getData&returnFormat=json&argumentCollec tion=%7B%22page%22%3A1%2C%22pageSize%22%3A5%2C%22gridsortcolumn%22%3A%22%22%2C%22gridsortd irection%22%3A%22%22%2C%22idTableau%22%3A%22772%22%7D&_cf_nodebug=true&_cf_nocache=true&_c f_clientid=59BF758DB52E56355D649B34E232903B&_cf_rc=0
    - info:http: Invoking CFC:
    /bulte/admin/produits/gridDataManager.cfc , function: getData ,
    arguments:
    {"page":1,"pageSize":5,"gridsortcolumn":"","gridsortdirection":"","idTableau":"772"}
    - info:LogReader: LogReader initialized
    - info:global: Logger initialized
    Here my cfm page code:
    <cfparam name="URL.id" default="">
    <cfquery name="qRec" datasource="#APPLICATION.db#">
    SELECT *
    FROM Produits
    WHERE id=<cfqueryparam cfsqltype="cf_sql_integer"
    value="#URL.id#">
    </cfquery>
    <cfset FORM.refTableau=qRec.refTableau>
    <cfset MyXmlCode=FORM.refTableau>
    <cfset mydoc = XmlParse(MyXmlCode)>
    <cfset nbcolumns =
    ArrayLen(mydoc.table.tr.XmlChildren)>
    <cfset numLines = ArrayLen(mydoc.table.XmlChildren)>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN" "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml">
    <head>
    <title>fdgdfgdfgdfg</title>
    <link rel="stylesheet" href="../admin.css" />
    <meta http-equiv="Content-Type" content="text/html;
    charset=utf-8" />
    </head>
    <cfwindow width="900" height="600" center="true"
    resizable="false" draggable="true" initshow="true"
    closable="false">
    <cfform name="editForm" action="ifr_refTableau.cfm"
    method="post" format="html">
    <cfgrid format="html"
    name="refTableau"
    pagesize="5"
    sort="yes"
    selectmode="edit"
    delete="yes"
    bind="cfc:gridDataManager.getData({cfgridpage},{cfgridpagesize},{cfgridsortcolumn},{cfgri dsortdirection},'#URL.id#')"
    onchange="cfc:gridDataManager.editData({cfgridaction},
    {cfgridrow}, {cfgridchanged})">
    <cfloop from="1" to="#nbcolumns#" index="k">
    <cfgridcolumn name="Col_#k#" header="#k#" display="yes"
    />
    </cfloop>
    </cfgrid>
    </cfform>
    </cfwindow>
    </body>
    </html>
    My cfc code :
    <cfcomponent>
    <cfset THIS.dsn="clients">
    <cffunction name="getData" access="remote"
    output="false">
    <cfargument name="page" required="yes">
    <cfargument name="pageSize" required="yes">
    <cfargument name="gridsortcolumn" required="no">
    <cfargument name="gridsortdirection" required="no">
    <cfargument name="idTableau" required="yes">
    <cfquery name="qRec" datasource="#THIS.dsn#">
    SELECT refTableau
    FROM Produits
    WHERE id=<cfqueryparam cfsqltype="cf_sql_integer"
    value="#ARGUMENT.idTableau#">
    </cfquery>
    <!--- Convert file to XML document object --->
    <cfset MyXmlCode=qRec.refTableau>
    <cfset mydoc = XmlParse(MyXmlCode)>
    <cfset numItems =
    ArrayLen(mydoc.table.tr.XmlChildren)>
    <cfset numLines = ArrayLen(mydoc.table.XmlChildren)>
    <!--- Process the order into a query object --->
    <cfset listHeader="">
    <cfloop from="1" to="#numItems#" index="i">
    <cfset listHeader=ListAppend(listHeader, "Col_#i#")>
    </cfloop>
    <cfset queryDatas = QueryNew(listHeader)>
    <cfset temp = QueryAddRow(queryDatas, numLines)>
    <cfloop index="i" from="1" to ="#numLines#">
    <cfloop from="1" to="#numItems#" index="j">
    <cfset temp = QuerySetCell(queryDatas,
    ListGetAt(listHeader, j), mydoc.table.tr
    .td[j].XmlText, i)>
    </cfloop>
    </cfloop>
    <cfquery name="qReturn" dbtype="query">
    SELECT *
    FROM queryDatas
    <cfif ARGUMENTS.gridsortcolumn neq "" or
    ARGUMENTS.gridsortdirection neq "">
    ORDER BY #ARGUMENTS.gridsortcolumn#
    #ARGUMENTS.gridsortdirection#
    </cfif>
    </cfquery>
    <cfreturn QueryConvertForGrid(qReturn, ARGUMENTS.page,
    ARGUMENTS.pageSize)>
    </cffunction>
    <cffunction name="editData" access="remote"
    output="false">
    <cfargument name="gridaction">
    <cfargument name="gridrow">
    <cfargument name="gridchanged">
    </cffunction>
    </cfcomponent>
    <body>
    I don't understand why the return is empty.

    I have the same problem. When the function is removed, the
    query return many line of data, but when the queryconverforgrid is
    added, the grid has the same number of line but all fields are
    empty. Can someone please help???

  • Error  :  Purchase Order  Response for Service items Different

    Hi ,
    We are getting Error  :  Purchase Order  Response for Service items Different  , when creating the PO in SRM 5.0.  what must be the reason ?
    Thanks & Regards,

    Problem solved

  • Creating a response object

    Hi,
    I have the following case. I am intiliazing all the variables in the init() method of the servlet using a resoruce bundle.
    I want to put a condition in init() by which it cannot get the resource bundle then the user should get directed to an error page.
    I know that it is acheieved by response.sendRedirect("error.jsp");
    But how can i create the response object.
    Regards
    sandeep

    hi sandeep,
    i think we can't get the request or response objects in init() method,
    so we can't redirect to the any other page in init() method.
    regards,
    sekhar

Maybe you are looking for