[URGENT] UTF-8 issue in weblogic SOAP implementation

Guyz,
I am finding an issue with **weblogic.xml.saaj.MessageFactoryImpl** SOAP message factory mplementation class of weblogic. When it creates SOAP from inputstream which includes portuguese characters it does not recognise those characters.
Any idea how to solve this issue?
Chinmoy

Will this really be a problem? UTF-8 is a superset of US-ASCII, I believe,
          so there should be no incompatability. This is assuming that you will only
          be sending latin characters in the form, since the recieving end can only
          accept latin characters. If this is NOT true, then they need to use UTF-8.
          Otherwise, I would test it and see what happens.
          "Volker Mader" <[email protected]> wrote in message
          news:3d3326c4$[email protected]..
          >
          > Hi there,
          >
          > can anybody help me.
          > I have a webapp in wls 6.1 sp2. All of the web is utf-8 based, so i set
          the charset
          > in the page-directive and the html content type to utf-8. Also I set the
          <input-charset>
          > Tag in weblogic.xml to utf-8 for context "/".
          > Problem: I want to send a from out of this webapp to another server which
          serves
          > a iso-8859-1 based application.
          > How can I do that?
          >
          > Thanks for help
          > Volker
          

Similar Messages

  • Accessing non-weblogic SOAP

    Hello,
    I'm trying to access some simple web services which are implemented using
    some Perl module (don't ask ....).
    After I've gotten their WSDL file, I can successfully generate stubs using
    the clientgen ant task.
    However, when I try to access the webservice from within my EJB's, I get the
    following error message:
    An IOException was thrown trying to access the WSDL at the given URL.
    java.io.FileNotFoundException: Response: '411: Length Required' for url:
    'http://petest01:8082/cgi-bin/WebStore.cgi'
    It seems as if the perl SOAP implementation doesn't allow me to check their
    WSDL file. Just sending the SOAP POST messages works fine.
    I explicitly specified the 'saveWSDL' option to the clientgen task, but it
    still tries to access the WSDL file at runtime. Any way to resolv this
    issue?
    Regards,
    Francois Staes.

    Hi Francois,
    The JAR file generated by the <clientgen> Ant task, has a static WSDL inside it.
    To get your JAX-RPC client to use it, write code that looks like this:
    MyService_Impl service = null;
    MyServicePort port = null;
    try
    // There are two constructors for every XXX_Impl class.
    // The one that accepts a wsdlURL (as a String) will
    // request the WSDL from the service provider. The
    // no-arg one will just use the statis WSDL in the
    // client.jar generated by the <clientgen> Ant task.
    service = new MyService_Impl();
    port = service.getMyServicePort();
    MyObject response = port.myServiceOperation();
    Again, this will cause the WLS client-side JAX-RPC classes, in the webserviceclient.jar,
    to use the static WSDL (in the client.jar generated by the <clientgen> Ant task)
    to invoke the target web service. It will not send a request to the target web
    service to retrieve it's WSDL, because it already has it.
    Regards,
    Mike Wooten
    Francois Staes <[email protected]> wrote:
    >
    Hello,
    I'm trying to access some simple web services which are implemented using
    some Perl module (don't ask ....).
    After I've gotten their WSDL file, I can successfully generate stubs
    using
    the clientgen ant task.
    However, when I try to access the webservice from within my EJB's, I
    get the
    following error message:
    An IOException was thrown trying to access the WSDL at the given URL.
    java.io.FileNotFoundException: Response: '411: Length Required' for url:
    'http://petest01:8082/cgi-bin/WebStore.cgi'
    It seems as if the perl SOAP implementation doesn't allow me to check
    their
    WSDL file. Just sending the SOAP POST messages works fine.
    I explicitly specified the 'saveWSDL' option to the clientgen task, but
    it
    still tries to access the WSDL file at runtime. Any way to resolv this
    issue?
    Regards,
    Francois Staes.

  • Evaluation of SOAP implementations

    Hi,
    I'm currently evaluating SOAP to implement a web-services-type application to front a existing system. The server is certainly Java-based, but the client can be anything. I'm a complete newbie with SOAP, so please bear with the idiotic-type questions.
    1. Are there still interoperability issues with SOAP implementations between Sun/Apache and Microsoft? I've read several articles on this, but they are dated at least 1-2 years ago. Any glaring issues currently?
    2. The AppServer is currently on Java1.4.0. Any known issues?
    3. I've tried using the jwsdp to implement a simple (and raw) SOAP service. Anyone with a recommendation whether jwsdp will suffice or would Apache Axis be a better candidate? What does Axis provides that jwsdp doesn't if i already have a http-based MVC framework that I have to re-use?
    4. A more general question: Must I deploy a WSDL for my SOAP serivces?
    Many thanks in advance.

    Hello,
    Try to roll back the time of the computer to a few days back until you are able to perform an edition upgrade.
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • Weblogic.soap.wsdl.Remote2WSDL

    weblogic.soap.wsdl.Remote2WSDL doesn't create the first line in the JSP:
    <% response.setHeader( "Content-Type", "text/xml; charset=utf-8" ); %>
    that the wsgen Ant task seems to.
    Any clues?

    This is not a supported Tool. Anyway, the following seems
    to work:
    java weblogic.soap.wsdl.Remote2WSDL java.util.Vector /foo/bar
    regards,
    -manoj
    "Johannis Dihayco" <[email protected]> wrote in message
    news:[email protected]..
    Hi, I'm trying to generate the WSDL JSP using the
    weblogic.soap.wsdl.Remote2WSDL
    utility of Weblogic 6.1.
    However I can't seem the jsp file generated contains nothing.
    Do I need to run the utility in a directory containing the ejb jar file? How
    is the EJB_interface path specified? (what is
    meant specifically by fully qualified class name)?
    [att1.html]

  • Issue in Weblogic Server - Server Stops abruptly

    Hi All,
    I am facing an issue with Weblogic server(8.1). One of the managed servers stops abruptly. Server run for some days. After 5 or 6 days it stops without giving any log message. Admin(mgt server) and this managed server are running in the same box(AIX Environment). Below is the only log I got. Any idea why it is happening?
    According to the BEA Message it may be due to network problem. Since both the servers are running in same box, i don't think it is network issue.
    Can anyone please help me on this? - thanks in advance
    Log Trace Message:
    ==================
    <AF[196]: Allocation Failure. need 528 bytes, 67173345 ms since last AF>
    <AF[196]: managing allocation failure, action=1 (0/1040390840) (32611304/33283912)>
    <GC(197): freeing class jsp_servlet._ofr._invoice._shipper._jsp.__exceptioninvoicelist(302453c8)>
    <GC(197): freeing class jsp_servlet._lcom._common._jsp.__page_navigation(3024ecc8)>
    <Dec 21, 2005 10:47:18 PM KST> <Warning> <Management> <BEA-141138> <Managed Server ofrserver is disconnected from the ad
    min server. This may be either due to a managed server getting temporarily partitioned or the managed server process exi
    ting.>
    <GC(197): freeing class jsp_servlet._ofr._filter._jsp.__filterdetails(30252718)>
    <GC(197): freeing class jsp_servlet._lcom._admin._jsp.__devtools(3040f898)>
    <GC(197): freeing class jsp_servlet._lcom._admin._util._jsp.__devtoolslogin(3040f260)>
    <GC(197): freeing class jsp_servlet._lcom._admin._util._jsp.__processdevtoolslogin(30411870)>
    <GC(197): freeing class jsp_servlet._ofr._admin._util._jsp.__xmlcommmanagerimport(30413e58)>
    <GC(197): freeing class jsp_servlet._ofr._admin._util._jsp.__processxmlcommmanagerimport(30414a88)>
    <GC(197): unloaded and freed 8 classes>
    <GC(197): GC cycle started Wed Dec 21 22:47:23 2005
    <GC(197): freed 721499624 bytes, 70% free (754110928/1073674752), in 263157 ms>
    <GC(197): mark: 248258 ms, sweep: 1857 ms, compact: 13042 ms>
    <GC(197): refs: soft 0 (age >= 32), weak 0, final 27363, phantom 0>
    <GC(197): moved 0 objects, 0 bytes, IC reason=14>
    <GC(197): stop threads time: 1356, start threads time: 19>
    <AF[196]: completed in 282883 ms>
    Thanks,
    Shanmuga perumal
    [email protected]

    I think you should be able to follow the same steps but whenever you come across Domain B in the instructions, just substitute the values for Domain A. Because it is the same domain you may not even have to go through some of the certificate steps. If you have questions I suggest you post them in the WLS Security forum.
    WebLogic Server - Security

  • Issue with Receiver SOAP adapter for synchronous scenario

    Hello All,
    We are facing a strange issue with the SOAP adapter in the interface we have setup. This is the 1st time we are using SOAP adapter in our system (PI 7.11 SP7). We are making a synchronous HTTP call to the web service exposed by another system in our landscape. The payload is send with SOAP envelope and there are no credentials to be maintained in PI settings.
    The issue is that we are always getting timeout exception in PI audit logs after sending the request (3 minutes - standard timeout value, no additional config for this). But target system has confirmed that they are sending the response back. We tested from our server OS level and have received the response back in the same screen (to verify there is no firewall/port issue in between the systems). But when tried from RWB, it is always giving the timeout exception and we are not able to see any other log.
    We have tried checking in the NWA logs as well after increasing the logging level to ALL for com.sap.aii.adapter.soap. But surprisingly, we didn't get any logs at all for the outgoing SOAP call or incoming response and hence we are unable to trace the issue.
    We have setup another synchronous inbound SOAP interface (PI exposing the webservice) and it is working fine. We are also able to trace the logs in both audit log and NWA logs.
    Is there anywhere else we can check for the logs? Audit logs is showing timeout error and we are not able to see anything in NWA logs.
    Does the target system need to maintain PI credentials in the header when they send the synchronous response back?
    Are there any specific settings which should be checked to enable the sync communication? (this should not be the case since the inbound interface is working fine)
    Please help.
    Thanks
    Justin

    Hi Amit,
    Thanks for the reply.
    Yes we had tested successfully via SOAP UI as well (forgot to mention that). We are getting back the expected response in SOAP UI without using any credentials. We got the same response when we tested it through OS commands from PI server.
    The WS is hosted by the target system and they haven't maintained any credentials at their end. So when PI is trying to access, we don't need to provide any credentials. My question is, whether the target system should keep any credentials to send the synchronous response back to PI (java stack). We have tried that as well but since there aren't any logs, we are unable to verify whether the credentials are coming correctly.
    The service interfaces are correct and PI configuration are OK. I will try the XPI inspector for logs as you have suggested.
    Thanks
    Justin

  • Issue with Weblogic services in Linux OBIEE 11G

    Hello All,
    I have a OBI 11G set up on a linux OS.I am facing a issue with weblogic service.
    Whenever I am trying to start the Admin server from command line using its .sh , it is starting successfully.
    But whenever I am closing that Linux session or coming out of the Admin server log , this service is getting stopped on its own.
    OBI is working perfectly when that Linux session and Admin server log is intact, but as soon as i close either of them Admin server shut itself down.
    Please any help on this will be appreciated.
    Thanks,
    Bhavnesh

    Hi Bhavnesh.
    Try this way and let me know  the outcome.
    nohup ./startWeblogic.sh -Dweblogic.management.username=Username -Dweblogic.management.password=password & tail -f nohup.out
    Mark if helps,
    Thanks,

  • IBM JDK 6 32bit & 64bit Reflection Invoke issue on Weblogic 10.3

    We just found a issue on Weblogic 10.3 with IBM JDK 6 32bit, which calls different method during reflection invoke with that been processed under 64bit JDK, here is my source code:
    public class ButtonTag extends InputTag {
    private boolean checkNotNull = false;
    public void setCheckNotNull(Object checkNotNull) {
    public void setCheckNotNull(boolean checkNotNull) {
    this.checkNotNull = checkNotNull;
    this.setUserSetCheckNotNull(true);
    Under 64bit, reflection invoke will call setCheckNotNull(boolean checkNotNull), however under 32bit, it will call setCheckNotNull(Object checkNotNull), actually 32bit version is doing something wrong, we are not sure it is a issue of weblogic or IBM JDK, pls refer the information below for details, Thanks
    OS: AIX 5.3
    AIX@ /usr/java6/bin./java -version
    java version "1.6.0"
    Java(TM) SE Runtime Environment (build pap3260sr2-20080818_01(SR2))
    IBM J9 VM (build 2.4, J2RE 1.6.0 IBM J9 2.4 AIX ppc-32 jvmap3260-20080816_22093 (JIT enabled, AOT enabled)
    J9VM - 20080816_022093_bHdSMr
    JIT - r9_20080721_1330ifx2
    GC - 20080724_AA)
    JCL - 20080808_02
    AIX@ /usr/java6_64/bin./java -version
    java version "1.6.0"
    Java(TM) SE Runtime Environment (build pap6460sr6-20090925_01(SR6))
    IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 AIX ppc64-64 jvmap6460sr6-20090923_42924 (JIT enabled, AOT enabled)
    J9VM - 20090923_042924
    JIT - r9_20090902_1330ifx1
    GC - 20090817_AA)
    JCL - 20090924_01
    AIX server107 3 5 00CE9E7B4C00

    The problem was the name of the Seam EJB module. Changing the jar to jboss-seam.jar, everything worked. This issue does not appear on JBoss 4.2.3.GA, where I also tested.
    Edited by: deadlock_gr on Jun 10, 2010 9:55 AM
    Edited by: deadlock_gr on Jun 10, 2010 9:56 AM

  • Issue with weblogic.jar parsing the wsdl

    Hi,
    Here is a very small program, for which i am facing the problem of getting the
    types from the wsdl. It works fine, as standalone....You do not have to deploy
    the code any where..just have weblogic.jar in the classpath. It does not work.
    It works when weblogic.jar is not in the classpath..any help is GREATLY APPRECIATED...
    java.wsdl.Types from the java.wsdl.Definition object and the schema in the types
    is null ( when weblogic.jar is present in the
    I am always getting null in the schema (
    import javax.wsdl.Definition;
    //import weblogic.soap.wsdl.binding.Definition;
    import javax.wsdl.xml.WSDLReader;
    import javax.wsdl.factory.WSDLFactory;
    public class Test {
    Definition definition = null;
    public static void main(String args[] ) {
    Test test = new Test();
    test.parseWSDL(args[0]);
    public void parseWSDL(String WSDLName)
    try
    WSDLFactory wsdlFactory = WSDLFactory.newInstance();
    WSDLReader wsdlReader = wsdlFactory.newWSDLReader();
    wsdlReader.setFeature("javax.wsdl.verbose",false);
    wsdlReader.setFeature("javax.wsdl.importDocuments",true);
    definition = wsdlReader.readWSDL(WSDLName);
    System.out.println("-----------" + definition.getTypes() );
    catch( Exception e ) {
    System.out.println("Exception" + e ); }
    Thank for your help.
    Nag

    Hi Nag,
    With little reference to Sir Walter Scott, it would be a very tangled
    web we weave in an attempt to factor out the inter-relationships of
    javax interfaces that are hindering your effort. All to say, we don't
    currently support JSR 110 (javax.wsdl.*) and it is not on the near term
    horizon.
    Have you considered using autotype [1]?
    Regards,
    Bruce
    [1]
    http://edocs.bea.com/wls/docs81/webserv/anttasks.html#1080062
    Nag wrote:
    >
    Hi,
    Here is a very small program, for which i am facing the problem of getting the
    types from the wsdl. It works fine, as standalone....You do not have to deploy
    the code any where..just have weblogic.jar in the classpath. It does not work.
    It works when weblogic.jar is not in the classpath..any help is GREATLY APPRECIATED...
    java.wsdl.Types from the java.wsdl.Definition object and the schema in the types
    is null ( when weblogic.jar is present in the
    I am always getting null in the schema (
    import javax.wsdl.Definition;
    //import weblogic.soap.wsdl.binding.Definition;
    import javax.wsdl.xml.WSDLReader;
    import javax.wsdl.factory.WSDLFactory;
    public class Test {
    Definition definition = null;
    public static void main(String args[] ) {
    Test test = new Test();
    test.parseWSDL(args[0]);
    public void parseWSDL(String WSDLName)
    try
    WSDLFactory wsdlFactory = WSDLFactory.newInstance();
    WSDLReader wsdlReader = wsdlFactory.newWSDLReader();
    wsdlReader.setFeature("javax.wsdl.verbose",false);
    wsdlReader.setFeature("javax.wsdl.importDocuments",true);
    definition = wsdlReader.readWSDL(WSDLName);
    System.out.println("-----------" + definition.getTypes() );
    catch( Exception e ) {
    System.out.println("Exception" + e ); }
    Thank for your help.
    Nag

  • XMLServer problem with Strings. SOAP implementation

    hi,
    I've tried to export a Service Objet with XMLServer.
    The SO consists of a method that will be called by a JAVA client :
    execute (String param) : String
    There is no problem when this method returns a String with no special caracters. But when it contains some 'e', for example, the Java client is no more able to get the response.
    The error deals with the SOAP envelop of the response,
    the Java client crashes :
    SOAP Fault; code=SOAP-ENV:Server string=XMLSvr.ProtocolSOAP.getResponseText: Internal Error - no response envelope
    I use UDS 5.0 on NT
    The Java client uses Apache.SOAP packages
    Is this a problem of compatibility between the two SOAP implementations ??
    Please help me ...
    matt

    Hi Matt,
    UDS 5.0.1 is able to generate a SOAP Server and Java Proxies (Java clients) but there are some limitations in the current implementation (Does not have support for array of string for example...). I would suggest you to check http://knowledgebase.iplanet.com/ikb/kb/articles/7655.html for further info abou those limitations (by the way, all the questions and answers except one, are from an email I sent to the Iplanet guys last year... :-)

  • WebLogic SOAP client to MS SOAP server

    An article at
    www.perfectxml.com/articles/xml/soapguide.asp?p=on
    shows how to invoke a MS SOAP service from an Apache SOAP client.
    How would you invoke a Microsoft SOAP service from a WebLogic SOAP client? How
    would that client invoke an Apache SOAP service?
    Thanks,
    Ben

    Hi Ben,
    I think the attached .zip contains what you are looking for. Copy it into your
    $WL_HOME/samples directory before you extract
    the contents.
    Regards,
    Mike Wooten
    "Ben Soedjono" <[email protected]> wrote:
    >
    An article at
    www.perfectxml.com/articles/xml/soapguide.asp?p=on
    shows how to invoke a MS SOAP service from an Apache SOAP client.
    How would you invoke a Microsoft SOAP service from a WebLogic SOAP client?
    How
    would that client invoke an Apache SOAP service?
    Thanks,
    Ben[interop.zip]

  • Issues with Wiki formatting implementation

    As we know, since several versions now, Skype converts the following pre- and postfixes to formatted text:
    *test*: Bold text
    _test_: Italic text
    ~test~: Strikethrough text
    However, there are some issues with the way this is implemented, which I try to lay out here.
    When editing a message containing formatted text, the formatting is lost, and plain text copied into the chat input textbox where you will edit the message. This can be really annoying if you want to fix just a typo in a formatted message.
    E.g.: "*This is* a test _to demonstrate_ a ~Skype~ bug" converts into simply "This is a test to demonstrate a Skype bug" into the input textbox.
    Formatting has to be added back manually, and can be a time-eating task if you wrote longer messages.
    Copying formatted messages also loses the text formatting, especially when pasting them into plain text files. Skype should restore the post- and prefixes.
    E.g., copying this: "This is a test to demonstrate a Skype bug" should paste into a plain text file as "*This is* a test _to demonstrate_ a ~Skype~ bug", but currently it pastes just as "This is a test to demonstrate a Skype bug"
    It should be possible to turn formatting off, like smileys. Already formatted messages are then parsed back to include post- and prefixes for display. Currently, there are solutions to disable this for messages sent by the local user, but it is not remembered between sessions, and does not affect remote users (you can try it by entering "/setupkey *Lib/Conversation/EnableWiki 0" in the chat).
    Such an option should obviously be placed in the "IM & SMS > IM Appearance" category.
    It would be great if you can sort out these usability issues, as it makes Skype somewhat cocky regarding the handling of the wiki formatting.
    Solved!
    Go to Solution.

    The first two issues (which are directly related) are already known to be issues with their current implementation of formatting.  It's hard to say when those issues will be addressed.  In regards to your 3rd point, that has already been addressed so that you can make that change via that command and have is stick.  Since they actually addressed the command issue and did not make it a GUI option they apparently don't want a GUI option at this time.
    I issued that command, exited Skype, relaunched Skype then tested out bold formatting.  Neither I nor my other contact (my test account) received any formatting unless I reversed that setting.  Make sure you are running the latest version of Skype (7.3).

  • Applets loading issue in Weblogic portal 10.3 - urgent

    Hi,
    We are upgrading WLP 8.1 to WLP 10.3, I am facing an issue on loading an applet on the client browser getting class not found exception.
    The applet tag in WLP 8.1
    =================
    <applet name="ThisApplet" code="PrintFormApplet.class"
              codebase="/bea_wls_internal/classes/projectApp@projectportal/" MAYSCRIPT height=28 width=90 >
    <PARAM NAME=lastformNum VALUE="<%=lastformNum%>"/>
    </applet>
    works fine in WL 8.1 with any problem.
    WLP 10.3 and plug-in using JRE 1.6
    =======================
    In Weblogic 10.3 I am getting an error class not found exception.
    Is there any change to be done on the applet codebase tage ?
    codebase="/bea_wls_internal/classes/"
    What is the equivalent codebase to be used in WL 10.3?
    This is an urgent issue to be solved. pls help on this issue asap.
    Thanks,
    Santha.

    Solved my self:
    Don't use the .class in the code tag
    problem
    =====
    <applet name="ThisApplet" code="PrintFormApplet.class"
    codebase="/bea_wls_internal/classes/projectApp@projectportal/" MAYSCRIPT height=28 width=90 >
    <PARAM NAME=lastformNum VALUE="<%=lastformNum%>"/>
    </applet>
    solution:
    ======
    <applet name="ThisApplet" code="PrintFormApplet"
    codebase="/bea_wls_internal/classes/projectApp@projectportal/" MAYSCRIPT height=28 width=90 >
    <PARAM NAME=lastformNum VALUE="<%=lastformNum%>"/>
    </applet>

  • URGENT!! Issue in SOAP

    Hi All,
    The SOAP is working fine on PROD all 3 nodes, but when we test through website link, it raised the following error.
    I am new to this one, I donnow How to degbug also.. Pls advise.
    Feb 20, 2009 12:18:40 PM com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnectio
    n post
    SEVERE: SAAJ0009: Message send failed
    java.security.PrivilegedActionException: com.sun.xml.messaging.saaj.SOAPExceptio
    nImpl: Message send failed
    Please help me in this regard..
    Thanks,

    This is not OAF related issue. Better check http://forums.oracle.com/forums/main.jspa?categoryID=84 and find relevant forum to post the issue.
    --Shiv                                                                                                                                                                                                                                                                                                               

  • Issue with dbadapter properties implementing, please its urgent.....

    Hi All,
    my scenario is polling data from one table and publishing in to jms queue. and I'am using FaultPolicies with retry (2) and interval time (2) and exponential Backoff-(3).
    when I configured DB Poll, the properties of maxrows (4), attempts (9),Interval (1) and back off factor (2).
    Now the requirement is to check after executing the faultpolicies, my DB properties should also process. For this I have given wrong JNDI in jms queue to test my service.
    when i test the fault is executing through faultpolicies but DB properties are not retrying.
    can anyone help me in this it would be appreciate.
    Regards,
    G.Satish.

    Quickly, please.
    25% left.

Maybe you are looking for