Wsdl parsing error soa11g cluster environment

hi,
i clicked test in console below error is coming in 11g soa cluster environment Please help me.
http://soadev-internal.xxx.com/soa-infra/services/default/HighwayTableUpdateProcess/highwaytableupdatebpel_client_ep?WSDL
Either the WSDL URL is invalid or the WSDL file is not valid or incorrect. - WSDLException: faultCode=PARSER_ERROR: Failed to read wsdl file at: "http://soadev-internal.wlgore.com/soa-infra/services/default/HighwayTableUpdateProcess/highwaytableupdatebpel_client_ep?WSDL", caused by: java.net.SocketException. : java.net.SocketException: Connection reset
but in browser it is parsing well.
Regards
janardhan

Hi,
If it is a problem in jdev..Make sure u set the proxy information in Tools--->Preferences-->WebBrowser and Proxy or you can remove the Use HTTP Proxy server check mark and try.
If u also face the similar issue in the console make sure u make an entry of soadev-internal.xxx.com to the correct IP in hosts file
Regards
Edited by: Oraacler on Aug 16, 2010 7:45 AM

Similar Messages

  • Wsdl parsing error 11g soa cluster

    Hi,
    I am using soa 11g cluster environment ,but i am unable to invoke deployed bpel from another bpel using common url.
    wsdl is not parsing.
    http://soadev-internal.xxx.com/soa-infra/services/default/HighwayTableUpdateProcess/highwaytableupdatebpel_client_ep?WSDL
    in browser it parsing well but in console and from other bpel it is not parsing please help me.
    Regards
    janardhan

    Hi,
    If it is a problem in jdev..Make sure u set the proxy information in Tools--->Preferences-->WebBrowser and Proxy or you can remove the Use HTTP Proxy server check mark and try.
    If u also face the similar issue in the console make sure u make an entry of soadev-internal.xxx.com to the correct IP in hosts file
    Regards
    Edited by: Oraacler on Aug 16, 2010 7:45 AM

  • WSDL parse error

    Flex builder 3 reports this error when trying to parse my
    WSDL:
    actionscript class name contains illegal characters
    I suspect it is the dots in the "name" attributes that it
    does not like:
    -->

    <definitions name="GlobalLB.Pool"
    targetNamespace="urn:iControl">
    <!-- types -->

    <types>

    <xsd:schema targetNamespace="urn:iControl">

    <xsd:simpleType name="GlobalLB.MetricLimitType">
    Can this be fixed or worked around somehow?
    Thanks.

    Flex builder 3 reports this error when trying to parse my
    WSDL:
    actionscript class name contains illegal characters
    I suspect it is the dots in the "name" attributes that it
    does not like:
    -->

    <definitions name="GlobalLB.Pool"
    targetNamespace="urn:iControl">
    <!-- types -->

    <types>

    <xsd:schema targetNamespace="urn:iControl">

    <xsd:simpleType name="GlobalLB.MetricLimitType">
    Can this be fixed or worked around somehow?
    Thanks.

  • Why do I get parsing errors with my WSDL URL for Web Services usage

    Hi,
    I am puzzled with the errors I get when I want to create a Web Service datastore.
    Scenario: I have created a SAP Web Service from CRM using SOAMANAGER. The WSDL URL produced by SOAMANAGER is accessibile when pasting the URL directly in Internet Explorer. WSDL URL [http://UXCIQ0M.WDF.SAP.CORP:50076/sap/bc/srt/wsdl/srvc_CBDCB34C89C29304E10000000A4282C0/wsdl11/allinone/ws_policy/document?sap-client=504]
    When using the WSDL URL in the Web Service datastore URL field, I get the error An error occurred while importing metadata: WSDLException; faultcode=PARSER_ERROR: Problem parsing: The element type "br" must be terminated by matching tag "/br". (BODI-1111469) (BODI-1112446)
    When I save the WSDL defintion in a local file and use a local file path, I get the errors An error occurred while importing metadata: WSDLException (at /wsdl:definitions/wsdl:portype/wsp:Policy): faultcode=INVALID_WSDL: Encountered unexpected element 'Policy. (BODI-1111469) (BODI-1112446)
    My questions:
    - Why do I get different parsing errors despite the fact that the XML is the same?
    - The WSDL is generated by SOAMANAGER. Shouldn't it work directly when integrating with Web Services generated from an SAP environment?
    - Is this related to confiurgation issue? I have set the Job Manager to Support adapter, message broker and SNMP communication
    - What is the difference between the datastore of type Adapter and the datastore Web Service? In the white paper [http://www.sdn.sap.com/irj/boc/go/portal/prtroot/docs/library/uuid/20bd5e60-11f9-2b10-2bbb-b5109cceff08?quicklink=index&overridelayout=true] it is mentioned to use the Adapter type to consume a Web Service. It is not clear to me why we have those 2 types.
    Thanks & Best Regards
    Isabelle

    Some updates on this issue, which might help others in the community.
    - Data Service doesn't support ws_policy.
    - SAP NetWeaver 7.0 SOAMANAGER generate WDSL with ws_policy. In future releases, it is possible to specify not to use ws_policy
    - In most cases, replacing ws_policy with standard  in the URL directly, works. It doesn't work with Data Services :(.
    - Replacing ALL ws_policy in the XML directly is currently the only way to have the WSDL definition being parsed properly by Data Services.

  • ERROR[WSDL Parser] Attribute 'name' not found at: wsdl:documentation

    Hello,
    I'm currently having a problem generating the Java source code from a WSDL, because the WSDL2Service ant class bundled with the WLS install (in the /server/lib/webservices.jar library) does not comply with the WSDL XSD.
    Check http://schemas.xmlsoap.org/wsdl/
    Especially if you add a <wsdl:documentation> in your <wsdl:portType> you end up with a WSDLParser error, while the file perfectly validates through Eclipse:
         <wsdl:portType name="ImportPortType">
              <wsdl:documentation>
                   Definitions of available operations through the webservice
              </wsdl:documentation>
              <wsdl:operation name="importData">
                   <wsdl:input message="tns:ImportInput" />
                   <wsdl:output message="tns:ImportOutput" />
              </wsdl:operation>
         </wsdl:portType> The error is:
    [wsdl2Service] Generating web service from wsdl C:\Java\Workspaces\MyWorkspace/WebServices/wsdl/Import.wsdl
    [wsdl2Service] weblogic.webservice.wsdl.WSDLParseException: ERROR[WSDL Parser] Attribute 'name' not found at:<wsdl:documentation>Definitions of available operations through the webservice
    [wsdl2Service]           </wsdl:documentation>
    [wsdl2Service]      at weblogic.webservice.wsdl.WSDLParser.getMustAttribute(WSDLParser.java:263)
    [wsdl2Service]      at weblogic.webservice.wsdl.WsdlPortType.parsePortType(WsdlPortType.java:29)
    [wsdl2Service]      at weblogic.webservice.wsdl.WsdlBinding.parseBinding(WsdlBinding.java:45)
    [wsdl2Service]      at weblogic.webservice.wsdl.WsdlPort.parsePort(WsdlPort.java:46)
    [wsdl2Service]      at weblogic.webservice.wsdl.WsdlService.parseService(WsdlService.java:37)
    [wsdl2Service]      at weblogic.webservice.wsdl.WsdlDefinitions.parseDefinition(WsdlDefinitions.java:38)
    [wsdl2Service]      at weblogic.webservice.wsdl.WSDLParser.visit(WSDLParser.java:71)
    [wsdl2Service]      at weblogic.webservice.WebServiceFactory.createFromWSDL(WebServiceFactory.java:111)
    [wsdl2Service]      at weblogic.webservice.tools.build.internal.WSDL2JavaServiceImpl.runClassgen(WSDL2JavaServiceImpl.java:210)
    [wsdl2Service]      at weblogic.webservice.tools.build.internal.WSDL2JavaServiceImpl.run(WSDL2JavaServiceImpl.java:147)
    [wsdl2Service]      at weblogic.ant.taskdefs.webservices.wsdl2service.WSDL2Service.doWSDL2JavaService(WSDL2Service.java:211)
    [wsdl2Service]      at weblogic.ant.taskdefs.webservices.wsdl2service.WSDL2Service.execute(WSDL2Service.java:131)
    [wsdl2Service]      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    [wsdl2Service]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [wsdl2Service]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [wsdl2Service]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [wsdl2Service]      at java.lang.reflect.Method.invoke(Method.java:585)
    [wsdl2Service]      at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
    [wsdl2Service]      at org.apache.tools.ant.Task.perform(Task.java:348)
    [wsdl2Service]      at org.apache.tools.ant.Target.execute(Target.java:357)
    [wsdl2Service]      at org.apache.tools.ant.Target.performTasks(Target.java:385)
    [wsdl2Service]      at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
    [wsdl2Service]      at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
    [wsdl2Service]      at org.eclipse.ant.internal.ui.antsupport.EclipseSingleCheckExecutor.executeTargets(EclipseSingleCheckExecutor.java:30)
    [wsdl2Service]      at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
    [wsdl2Service]      at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
    [wsdl2Service]      at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
    [wsdl2Service]      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    [wsdl2Service]      at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
    [wsdl2Service]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [wsdl2Service]      at java.lang.reflect.Method.invoke(Method.java:585)
    [wsdl2Service]      at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
    [wsdl2Service]      at org.apache.tools.ant.Task.perform(Task.java:348)
    [wsdl2Service]      at org.apache.tools.ant.Target.execute(Target.java:357)
    [wsdl2Service]      at org.apache.tools.ant.Target.performTasks(Target.java:385)
    [wsdl2Service]      at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
    [wsdl2Service]      at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
    [wsdl2Service]      at org.eclipse.ant.internal.ui.antsupport.EclipseSingleCheckExecutor.executeTargets(EclipseSingleCheckExecutor.java:30)
    [wsdl2Service]      at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
    [wsdl2Service]      at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
    [wsdl2Service]      at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
    [wsdl2Service]      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    [wsdl2Service]      at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
    [wsdl2Service]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [wsdl2Service]      at java.lang.reflect.Method.invoke(Method.java:585)
    [wsdl2Service]      at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
    [wsdl2Service]      at org.apache.tools.ant.Task.perform(Task.java:348)
    [wsdl2Service]      at org.apache.tools.ant.Target.execute(Target.java:357)
    [wsdl2Service]      at org.apache.tools.ant.Target.performTasks(Target.java:385)
    [wsdl2Service]      at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
    [wsdl2Service]      at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
    [wsdl2Service]      at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    [wsdl2Service]      at org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
    [wsdl2Service]      at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
    [wsdl2Service]      at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423)
    [wsdl2Service]      at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)
    BUILD FAILED
    C:\Java\Workspaces\MyWorkspace\EAR\ant\build.xml:22: The following error occurred while executing this line:
    C:\Java\Workspaces\MyWorkspace\EAR\ant\build.xml:26: The following error occurred while executing this line:
    C:\Java\Workspaces\MyWorkspace\EAR\ant\build_config.xml:65: weblogic.webservice.tools.build.WSBuildException: weblogic.webservice.wsdl.WSDLParseException: ERROR[WSDL Parser] Attribute 'name' not found at:<wsdl:documentation>Definitions of available operations through the webservice
              </wsdl:documentation> Digging through the WSDLPortType class (package weblogic.webservice.wsdl ) decompiled code, I clearly saw this kind of parsing does not respect the WSDL XSD:
    public class WsdlPortType {
        public WsdlPortType() {
            operations = new ArrayList();
        void parsePortType(WSDLParser wsdlparser, XMLNode xmlnode, Port port) throws WSDLParseException {
            Iterator iterator = xmlnode.getChildren();
            do {
                if(!iterator.hasNext())
                    break;
                XMLNode xmlnode1 = (XMLNode)iterator.next(); // THE NEXT XML NODE IS NOT COMPULSORILY THE <wsdl:operation> ONE!!!
                String s = wsdlparser.getMustAttribute("name", xmlnode1);
                if(wsdlparser.canHandleMethod(xmlnode1)) {
                    weblogic.webservice.Operation operation = port.addOperation(s);
                    WsdlOperation wsdloperation = new WsdlOperation();
                    wsdloperation.parseOperation(wsdlparser, operation, xmlnode1);
                    operations.add(wsdloperation);
            } while(true);
        private ArrayList operations;
    } X-(
    Edited by maxxyme at 03/13/2008 10:34 AM

    I created a new project and tried to repeat the steps to import. Still getting the same error.
    This is my Message type definition if that helps
    <message name="Composite_Weather_ServiceRequestMessage">
              <part name="payload" type="tns1:NDFDgenRequest"/>
         </message>
         <message name="Composite_Weather_ServiceResponseMessage">
              <part name="payload" type="tns1:NDFDgenResponse"/>
         </message>

  • Services under EBSConsole AIASystem ValidationSystem WSDL Parsing Failed

    Hi all,
    Below is my setup seteps:
    1. Install SOA10.1.3.3 cluster accroding to "Application Server Enterprise Deployment Guide" (e10294)
    2. Installing AIA Foundation Pack 2.1 on SOA Cluster according to Note 731120.1
    When starting both nodes, some error message appear in soa_group~oc4j_soa~soa_group~1.log under <ORACLE_HOME>/opmn/logs as :
    ================================================================
    09/03/18 11:16:14 Caused by: WSDL Parsing Failed: http://<LBR URL>/AIAValidationSystemServl
    et/syncresponsesimulator?wsdl: java.io.FileNotFoundException: http://<LBR URL>/AIAValidatio
    nSystemServlet/syncresponsesimulator?wsdl
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1172)
    at java.net.URL.openStream(URL.java:1007)
    at oracle.tip.esb.utils.WSDLUtil.parseWSDL(WSDLUtil.java:125)
    at oracle.tip.esb.server.common.cache.WsdlCachePolicy.loadEntry(WsdlCachePolicy.java:48)
    at oracle.tip.esb.server.common.cache.Cache.setEntry(Cache.java:306)
    at oracle.tip.esb.server.common.cache.Cache.setEntry(Cache.java:270)
    at oracle.tip.esb.server.common.cache.Cache.getEntry(Cache.java:208)
    at oracle.tip.esb.server.common.cache.Cache.getEntry(Cache.java:181)
    at oracle.tip.esb.server.common.cache.RuntimeCache.getWsdlDefinition(RuntimeCache.java:249)
    at oracle.tip.esb.configuration.ServiceBusConstants.addService(ServiceBusConstants.java:674)
    at oracle.tip.esb.configuration.ServiceBusConstants.createTestPagesForSystem(ServiceBusConstants.java
    :626)
    at oracle.tip.esb.configuration.ServiceBusConstants.prepareTestPages(ServiceBusConstants.java:591)
    at oracle.tip.esb.server.service.impl.soap.EventOracleSoapProvider.init(EventOracleSoapProvider.java:
    162)
    at oracle.j2ee.ws.server.provider.ProviderProcessor.initProvider(ProviderProcessor.java:162)
    at oracle.j2ee.ws.server.provider.ProviderProcessor.init(ProviderProcessor.java:126)
    at oracle.j2ee.ws.server.provider.ProviderServlet.initializeProcessor(ProviderServlet.java:159)
    at oracle.j2ee.ws.server.provider.ProviderServlet.init(ProviderServlet.java:128)
    at javax.servlet.GenericServlet.init(GenericServlet.java:256)
    at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.java:2371)
    at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4824)
    at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4748)
    at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:4936)
    at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1145)
    at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:741)
    at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:414)
    at com.evermind.server.Application.getHttpApplication(Application.java:570)
    at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReferen
    ce(HttpSite.java:1987)
    at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:1906)
    at com.evermind.server.http.HttpSite.initApplications(HttpSite.java:643)
    at com.evermind.server.http.HttpSite.setConfig(HttpSite.java:290)
    at com.evermind.server.http.HttpServer.setSites(HttpServer.java:270)
    at com.evermind.server.http.HttpServer.setConfig(HttpServer.java:177)
    at com.evermind.server.ApplicationServer.initializeHttp(ApplicationServer.java:2493)
    at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1042)
    at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:131)
    at java.lang.Thread.run(Thread.java:595)
    09/03/18 11:16:14 at oracle.tip.esb.utils.WSDLUtil.parseWSDL(WSDLUtil.java:136)
    09/03/18 11:16:14 at oracle.tip.esb.server.common.cache.WsdlCachePolicy.loadEntry(WsdlCachePolicy.java:
    48)
    09/03/18 11:16:14 ... 32 more
    =================================================================
    AIA experts can give some hints about this issue?
    If you need more info please let me know.
    Thanks and Regards,
    Tim
    Edited by: AGUI on Mar 17, 2009 10:07 PM

    I have reached the exact same error as this post http://scn.sap.com/thread/3190403
    The error is
    [Mon Jun 18 23:14:28 2012] [error] ..\..\src\core\deployment\conf_builder.c(876) Specifyingservices and modules directories using axis2.xml but path of the library directory is not present
    [Mon Jun 18 23:14:28 2012] [error] ..\..\src\core\deployment\conf_builder.c(261) Processing transport senders failed, unable to continue
    [Mon Jun 18 23:14:28 2012] [error] ..\..\src\core\deployment\dep_engine.c(939) Populating Axis2 Configuration failed
    [Mon Jun 18 23:14:28 2012] [error] ..\..\src\core\deployment\conf_init.c(195) Loading deployment engine failed for client repository C:\Program Files (x86)\SAP BusinessObjects\Data Services\ext\webservice-c\axis2.xml
    As it is identified as an version problem, this issue is not going to be investigated any further.
    As an alternative, can try to use Oracle 11g SOAP_API.sql.

  • Processing this item failed because of a PDF parser error. Input string was not in a correct format.

    Good Morning,
    We're having issues parsing several hundred PDF files located in two separate Record Center sites. All other PDF documents in the environment are being crawled and parsed without issue. I've verified the permissions for the Search service account, but that
    doesn't seem to be the issue. Searching for this particular error hasn't returned much, but I have ensured that the Search service account has been added to the necessary Local Security Policy objects and cleared the configuration cache. Any help would be
    greatly appreciated.
    Processing this item failed because of a PDF parser error. ( Error parsing document 'https://asdf.com/sites/HRRecords/asdf.pdf'. Input string was not in a correct format.; ; SearchID = 6642FEEF-6921-434E-B084-02809173D8A7 )

    This issue came back up for me as my results aren't displaying since this data is not part of the search index.
    Curious if anyone knows of a way to increase the parser server memory in SharePoint 2013 search?
    http://sharepoint/materials-ca/HPSActiveCDs/Votrevieprofessionnelleetvotrecarrireenregistrement.zip
    Processing this item failed because the parser server ran out of memory. ( Error parsing document 'http://sharepoint/materials-ca/HPSActiveCDs/Votrevieprofessionnelleetvotrecarrireenregistrement.zip'. Document failed to be processed. It probably crashed the
    server.; ; SearchID = 097AE4B0-9EB0-4AEC-AECE-AEFA631D4AA6 )
    http://sharepoint/materials-ca/HPSActiveCDs/Travaillerauseindunequipemultignrationnelle.zip
    Processing this item failed because of a IFilter parser error. ( Error parsing document 'http://sharepoint/materials-ca/HPSActiveCDs/Travaillerauseindunequipemultignrationnelle.zip'. Error loading IFilter for extension '.zip' (Error code is 0x80CB4204). The
    function encountered an unknown error.; ; SearchID = 4A0C99B1-CF44-4C8B-A6FF-E42309F97B72 )

  • XML Parser Error while creating Web service Client using JAX RPC

    hello evryone,
    Im facing XML Parser Error while creating web service client using JAX RPC. Im using Net Beans IDE for development purpose. I have wrote configuration file for client. Now i want to create Client stub. However i dont know how to do this in Net Beans. So i tried to do it from Command promt using command :
    wscompile -gen:client -d build -classpath build config-wsdl.xml
    here im getting Error:
    error parsing configuration file: XML parsing error: com.sun.xml.rpc.sp.ParseException:10: XML declaration may only begin entities
    Please help me out.
    Many thanks in advance,
    Kacee

    Can i use the client generated using jdeveloper 11g to import into the oracle forms 10g, i.e., form builder 10g. Currently this is the version we have in our office.

  • XML Parsing Error: no element found Line Number 1, Column 1:

    Hi All,
    I have deployed EAR on my standalone server using JDEV 11.1.1.6.0. I am able to get the WSRP portlet producer page on
    http://<server>:7001/contextRoot. But when i try to click on any of the WSDL URL it gives me "XML Parsing Error: no element found Line Number 1, Column 1:"
    and from IE it gives me: XML document must have a top level element. Error processing resource
    there can be a issue with the WSRPContainer.jar file. So i have remove it from my deployment profile, EAR and lib/classpath files.
    Can you please suggest a workaround.
    Regards,
    ND
    Edited by: ND on Dec 4, 2012 9:57 PM

    Hi All,
    this error normally comes when the WLS domain is not not properly created. if you get some exception for ./provesecurity.sh file while creating the domain, then the XML error comes.
    I did not went into the depth but figured out a workaround: restart the VM/hosted box and then create the domain, remember to use diff port name while creating it from the domain creation script.
    Regards,
    ND

  • Parse errors while creating a Web service from Java class!

    Can anybody tell me please, is it possible to create a Web Service from java class where the input from user is required ?
    I have the following program, which is successfully compiled, but when I'm trying to make a web service in JDeveloper, the following error occurs:
    "Validation failed.
    The implementation class primePackage.isPrime ofport type MyWebService contains parse errors."
    import java.io.*;
    import java.util.*;
    class isPrime
    public static void main (String args[])
    Scanner reader = new Scanner(System.in);
    int n;
    System.out.println ("Enter a number you want to know is it prime or not");
    n=reader.nextInt();
    if (isPrime(n))
    System.out.println ("True");
    else
    System.out.println ("False");
    static boolean isPrime (int n)
    int i=2;
    while (i<=n-1)
    if (n%i==0)
    return false;
    i++;
    return true;
    }

    Hi,
    Can anybody tell me please, is it possible to create
    a Web Service from java class where the input from
    user is required ?Yes, the parameters of your method will be mapped in WSDL.
    But i've some considerations about your code.
    I suggest you change the name of isPrime do Prime, its a good code convention to put the name of class starting with Upper case. and isn't good the name of class equals to name of method.
    I suggest you to change the "static boolean isPrime (int n)" to "public boolean isPrime(int n)" to publish a method as a WebService method it's must be public and not static. After this change try to generate your Web Service.
    Regards.

  • Error while Configuring  environment parameters

    Hi,
    I am installling Oracle Utilities Business Intelligence 2.3.2 version . I am getting error while configuring Environment Paramameters
    Database- Oracle 11g R2
    OS- Windows Server 2008
    1. Environment Description
    Environment Description: DEV01
    2. Business Application Server Configuration
    Business Server Host: 01HW342889
    WebLogic Server Name: myserver
    Business Server Application Name: SPLService
    MPL Admin Port Number: 6502
    MPL Automatic startup: false
    3. Web Application Server Configuration
    Web Server Host: 01HW342889
    Web Server Port Number: 6500
    WebLogic SSL Port Number: 6501
    Web Context Root: ouaf
    WebLogic JNDI User ID: systemjndi
    WebLogic JNDI Password: ENC(tEky0TX65m0nDNIlnX
    CcwlbnXl2b1kMnvE8DD0wfI1Y=)
    WebLogic Admin System User ID: {3DES}gg8gG+5N+gwJBPWG
    IhRRuQ==
    WebLogic Admin System Password: {3DES}gg8gG+5N+gwJBPWG
    IhRRuQ==
    WebLogic Server Name: myserver
    Web Server Application Name: SPLWeb
    Application Admin User ID: appladmin
    Application Admin Password: ENC(OrIg4HyDLxi2kQ6uSs
    cBz4cubUr2U5BbRl75SY2pP6Q=)
    Expanded Directories: false
    Application Viewer Module: true
    4. Database Configuration
    JDBC Name: oubi-jdbc
    MPL Database User ID: SPLADMV2
    MPL Database Password: ENC(mfG7quacTagw5qEvov
    oaQIRpnogRvroY4NcXp6WZCZo=)
    XAI Database User ID: SPLADMV2
    XAI Database Password: ENC(tNfRJUthvYQR990TzW
    314nXU+5jWBuYBDs5AgT5qG7g=)
    Batch Database User ID: SPLADMV2
    Batch Database Password: ENC(L5BXr/lXp/riShr9Lp
    kFDsgUIjDm5I6TJU5Suz0Wy/k=)
    JDBC Database User ID: SPLADMV2
    JDBC Database Password: {3DES}L43JfrbOrCtupkwm
    4I/Adw==
    Database Name: DEV1
    Database Server: 01HW342889
    Database Port: 1701
    ONS Server Configuration:
    Database Override Connection String:
    Oracle Client Character Set NLS_LANG: AMERICAN_AMERICA.UTF8
    5. General Configuration Options
    Batch RMI Port: 6509
    Batch Mode: CLUSTERED
    Coherence Cluster Name: OUBICLUSTER1
    Coherence Cluster Address: 172.25.138.45
    Coherence Cluster PORT: 6508
    Coherence Cluster Mode: dev
    Each item in the above list should be configured for a successful install.
    Choose option (1,2,3,4,5, <P> Process, <X> Exit): P
    --> Calculating additional variables ... done.
    --> Writing variables to E:\OUBI2\ouaf\temp\FW.V4.0.2\tmp\2011-06-10-0954\ENVIRO
    N.INI ... done.
    Can't open E:\OUBI2\ouaf\temp\FW.V4.0.2\install_FW_E:\OUBI2\ouaf\DEV01.log for o
    utput at E:\OUBI2\ouaf\temp\FW.V4.0.2\data\bin\perllib/SPL/splLog.pm line 190.
    "ERROR - Detected while running install.plx."
    Thks,
    Mohan

    This is a common error people get when configuring Repository Service in Admin Console...
    Main reason for this is that there is an incompatible bit versions of Oracle Database and Informatica Server and windows. Try to reinstall Oracle DB or Infa Server and tryconfiguring the same it will work
    Or it could be parameter issues if it is linux...
    Please mark helpful this post

  • PI 7.1 in a cluster environment (multiple ip-adresses): P4 port

    We want to  install PI 7.1 on unix in a cluster environment.Therefore we  installed also DEV+QA with virtual hostnames like the prodsystem, which will be later installed.
    At all sapinst installation screens we have used only the virtual hostname <virtual-hostname-server interface>.We have also set the SAPINST_USE_HOSTNAME=<virtual-hostname-server interface>. Although the P4-port seems to have used the physical hostname: in step 57 of sapinst we got problems and in dev_icm were:
    [Thr 05] *** ERROR => client with this banner already exists:
    1:<physical-hostname>:35644 {000306f5} [p4_plg_mt.c 2495]
    After we have set
    icm/server_port_1 = PROT=P4,PORT=5$$04, HOST=<virtual-hostname-server interface>
    icm/server_port_6 = PROT=P4,PORT=5$$04, HOST=<virtual-hostname-user interface>
    icm/server_port_7 = PROT=P4,PORT=5$$04, HOST=<physical hostname>
    icm/server_port_8 = PROT=P4,PORT=5$$04, HOST=127.0.0.1
    the sapinst was successfull.
    Now we're not sure how to set these P4-parameters in our  future productive cluster environment.
    Our productive system PX1 will live in a HA environment, so we don't want to use the physical hostnames in any profile.
    Our environment will look like:
    HOST-A (<physical-hostname-A>):
    <virtual-hostname-server interface>
    <virtual-hostname-user interface>
    HOST-B (<physical-hostname-B>):
    Normally our prodsystem will live on Host-A (physical-hostname-A). All parameters should
    only take the virtual hostname <virtual-hostname-server-interface>. During switchover the
    virtual hostnames (server and user interface) will be taken over to HOST-B, while the physical
    hostnames of HOST-A and HOST-B will stay like there are.
    How do the parameters have to be set here ?
    Have also the physical hostnames of both cluster nodes set in the
    instance profile, e.g:
    icm/server_port_1 = PROT=P4,PORT=5$$04, HOST=<virtual-hostname-server interface>
    icm/server_port_6 = PROT=P4,PORT=5$$04, HOST=<virtual-hostname-user interface>
    icm/server_port_7 = PROT=P4,PORT=5$$04, HOST=<physical-hostname-A>
    icm/server_port_8 = PROT=P4,PORT=5$$04, HOST=<physical-hostname-B>
    icm/server_port_9 = PROT=P4,PORT=5$$04, HOST=<localhost>
    Any recommendations ? In note 1158626 is some infomation regarding P4 ports with multiple network interfaces, but it's not 100% clear for us.
    Best regards,
    Uta

    Hi Uta!
    Obviously we are the only human beings in the SAP community having this problem. Nevertheless let's give it another try with a - hopefully - more simple problem description (and maybe it will be helpful to copy and paste this description into the open SAP CSN also).
    So here comes the scenario:
    We have one physical host:
    Physical hostname: physhost
    Physical IP address: 1.1.1.1
    On this physical host there is running one OS: SUN Solaris 10/SPARC
    On top of this we have two virtual hosts where we install 2 completely independent PI 7.1 instances with separate virtual hostnames and separate virtual IP addresses and separate DB2 9.1 databases. That is this is not an MCOD installation.
    Virtual Host no. 1 is PI 7.1 Development System:
    Virtual hostname: virthostdev
    Virtual IP address: 2.2.2.2
    Java Port numbers: 512xx
    Virtual Host no. 2 is PI 7.1 QA System:
    Virtual hostname: virthostqa
    Virtual IP address: 3.3.3.3
    Java Port numbers: 522xx
    With this constellation we face serious problems with the P4 port. Currently for example the JSPM for virthostdev does not start, because JSPM cannot connect to the P4 port.
    In SAP note 1158626 we have learned that by default always the physical hostname/IP address is used to address the P4 port and that we have to configure instance profile parameter icm/server_port_xx to avoid this.
    So how do we have to configure the instance profile parameter icm/server_port_xx for both systems to resolve these P4 port conflicts?
    Additionally: Is it important to use distinct server port slot numbers xx in both systems?
    Additionally: Is it possible to configure this parameter with hostnames instead of using IP addresses?
    So far we have tried several combinations, but with each combination at least one or even both systems have problems with that f.... P4 port.
    Please help! Thanx a lot in advance!
    Regards,
    Volker

  • EMOD - Parse error while using merge fields

    Hello Everyone,
    We are using EMOD for email campaigns. We have renamed "Contact" object to "Rep Contact". When I insert merge fields on Rep Contact object, I get parse error message...
    Parse error in file at line 40: Could not find matching '}' for reference to variable at line 39
    Has anyone else come across this? Are there any restrictions in EMOD for using merge fields?
    Thanks.

    Thanks VK. I checked the source code and it is still perplexing why this error is coming up. It works fine without merge fields. I am pasting the section of html code with merge fields...
    <tr>
    <td valign="top" width="25" bgcolor="#ffffff"> </td>
    <td valign="top" bgcolor="#ffffff"><font face="Arial, Helvetica, sans-serif" style="font-size: 12px">Hello</font> ${Rep Contact.First Name} 
    <p><font face="Arial, Helvetica, sans-serif" style="font-size: 12px">What if there&rsquo;s another flash crash? What if we enter a double dip? These are just a few fears weighing heavily on investors&rsquo; minds in today&rsquo;s environment of uncertainty. <sup>1</sup> </font></p>
    <font face="Arial, Helvetica, sans-serif" style="font-size: 12px">
    <p>View or download: <a>3 ways to address risk-averse clients&rsquo; needs</a>.</p>
    </font>
    </td>
    </tr>

  • Parsing Error when using query builder

    I have a query with a subquery in the WHERE statement witn multiple fields listed in the select statement.
    For example, the subquery starts with "AND (center, jobid) IN SELECT center, jobid FROM ........
    The query runs fine and gives me the correct data
    However when I click on the Query builder option, I receive the following error
    "Text is not a valid, single SELECT statement.
    Parsing error:
    Failed to parse SQL query.
    Invalid Select Statement.
    Unexpected token "from" at line13, pos 1.
    Query Builder Disabled
    I believe this to be a problem with the query builder, Am I correct?

    Query Builder is a visual environment targeted at novice/intermediate users. Some advanced and/or hard to visualize language features are not supported. The improved error messaging coming in 3.1 would indicate this is 'unsupported' rather than 'not a valid, single SELECT statement.' For example, (using scott/tiger):
    Text contains unsupported syntax.
    Parsing error:
    Failed to parse SQL query.
    Invalid SELECT statement.
    Unexpected token "," at line 4, pos 16.
    Query Builder disabled.
    select distinct d.dname
    from dept d, emp e
    where d.deptno = e.deptno
      and (e.deptno, e.job) in
    (select x.deptno, x.job
    from emp x
    where x.deptno > 10
       and x.job NOT IN ('MANAGER', 'PRESIDENT')
    I don't know what your real query is, but refactoring to use join on derived table or table expression (or, as Gary said, separate IN clauses) rather than '(a, b) IN' will allow Query Builder to display it.
    derived table: select distinct d.dname
    from dept d, emp e,
    (select x.deptno, x.job
    from emp x
    where x.deptno > 10
       and x.job NOT IN ('MANAGER', 'PRESIDENT')
    ) filter
    where d.deptno = e.deptno
      and e.deptno = filter.deptno
      and e.job = filter.job
    table expression: with filter as (select x.deptno, x.job
    from emp x
    where x.deptno > 10
       and x.job NOT IN ('MANAGER', 'PRESIDENT')
    select distinct d.dname
    from dept d, emp e, filter
    where d.deptno = e.deptno
      and e.deptno = filter.deptno
      and e.job = filter.jobBrian Jeffries
    SQL Developer Team

  • OPMN fails in cluster environment after the machie reboots.

    Dear All:
    Have you ever meet the following problem or have any suggestion for it? Thanks a lot.
    There are machine A and B have been setup successfully in a cluster environment, everything is fine.
    However, after the machine B reboots, the Oracle BI Server and Presentation Server in machine B could not start.
    The error message for Oracle BI Server is:
    [2011-06-02T10:40:34.000+00:00] [OracleBIServerComponent] [NOTIFICATION:1] [] [] [ecid: ] [tid: 1060] Server start up failed: [nQSError: 43079] Oracle BI Server could not start because locating or importing newly published repositories failed.
    The error message for presentation server is:
    [2011-06-02T18:40:24.000+08:00] [OBIPS] [ERROR:1] [] [saw.sawserver.initializesawserver] [ecid: ] [tid: ] Another instance of Oracle Business Intelligence is trying to upgrade/update/create the catalog located at \\?\UNC\10.91.61.158\BIEEShare\CATALOG\SampleAppLite\root. Retry after it finishes.[
    The detail information is:
    1)     Machine A and B both run Windows 2008 server 64bit.
    2)     Machine A runs Admin Server+BI_Server1(managed server). Machine B is configured with “Scale out an existing installation” option and runs BI_Server2(managed server).
    3)     BIEE 11.1.1.3
    4)     In EM, the shared location of shared repository has been set to something like \\10.91.61.158\shared\RPD. The catalog path has been set to \\10.91.61.158\BIEEShare\CATALOG\SampleAppLite. Both path could be accessed by machine A and B.
    5)     Before machine B reboots, everything is fine. All the servers could be started.
    6)     After machine B reboots, the managed server BI_server2 could be started successfully. However, “opmnctl startall” would incur the above error message.
    Any suggestion is welcome. Thanks a lot!

    Hello,
    Thanks for answering.
    I am using OBIEE 11.1.1.5.0 enterprise software-only install scaleout existing Bi system option on HostMachine2. All services and coreapplication systems are running except coreapplication_obis1, coreapplication_obis2, coreapplication_obips1 and coreapplication_obips2 of bi_server2 on HostMachine2.
    Here is my ClusterConfig.xml, as you can see all changes in this file is done by em and primary and secondary controller settings are already applied. The same file also exist in the same location on HostMachine2.
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <Cluster xmlns="oracle.bi.cluster.services/config/v1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="oracle.bi.cluster.services/config/v1.1 ClusterConfig.xsd">
    <ClusterProperties>
    <!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager--><ClusterEnabled>true</ClusterEnabled>
    <ServerPollSeconds>5</ServerPollSeconds>
    <ControllerPollSeconds>5</ControllerPollSeconds>
    </ClusterProperties>
    <NodeList>
    <Node>
    <NodeType>PrimaryController</NodeType>
    <!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager--><NodeId>instance1:coreapplication_obiccs1</NodeId>
    <!--HostNameOrIP can be a hostname, IP or virtual hostname-->
    <!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager--><HostNameOrIP>HostMachine1</HostNameOrIP>
    <!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager--><ServicePort>9706</ServicePort>
    <!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager--><MonitorPort>9700</MonitorPort>
    <!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager--><ListenAddress>HostMachine1.localdomain.com</ListenAddress>
    </Node>
    <Node>
    <NodeType>Server</NodeType>
    <!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager--><MasterServer>true</MasterServer>
    <!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager--><NodeId>instance1:coreapplication_obis1</NodeId>
    <!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager--><HostNameOrIP>HostMachine1.localdomain.com</HostNameOrIP>
    <!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager--><ServicePort>9703</ServicePort>
    <!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager--><MonitorPort>9701</MonitorPort>
    </Node>
    <Node>
    <NodeType>Scheduler</NodeType>
    <!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager--><NodeId>instance1:coreapplication_obisch1</NodeId>
    <!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager--><HostNameOrIP>HostMachine1.localdomain.com</HostNameOrIP>
    <!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager--><ServicePort>9705</ServicePort>
    <!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager--><MonitorPort>9708</MonitorPort>
    </Node>
    <Node>
    <!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager-->
    <NodeType>Server</NodeType>
    <!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager-->
    <MasterServer>false</MasterServer>
    <!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager-->
    <NodeId>instance1:coreapplication_obis2</NodeId>
    <!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager-->
    <HostNameOrIP>HostMachine1.localdomain.com</HostNameOrIP>
    <!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager-->
    <ServicePort>9702</ServicePort>
    <!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager-->
    <MonitorPort>9709</MonitorPort>
    </Node>
    <Node>
    <!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager-->
    <NodeType>Server</NodeType>
    <!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager-->
    <MasterServer>false</MasterServer>
    <!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager-->
    <NodeId>instance2:coreapplication_obis1</NodeId>
    <!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager-->
    <HostNameOrIP>HostMachine2</HostNameOrIP>
    <!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager-->
    <ServicePort>9761</ServicePort>
    <!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager-->
    <MonitorPort>9762</MonitorPort>
    </Node>
    <Node>
    <!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager-->
    <NodeType>Server</NodeType>
    <!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager-->
    <MasterServer>false</MasterServer>
    <!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager-->
    <NodeId>instance2:coreapplication_obis2</NodeId>
    <!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager-->
    <HostNameOrIP>HostMachine2</HostNameOrIP>
    <!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager-->
    <ServicePort>9763</ServicePort>
    <!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager-->
    <MonitorPort>9764</MonitorPort>
    </Node>
    <Node>
    <!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager-->
    <NodeType>SecondaryController</NodeType>
    <!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager-->
    <NodeId>instance2:coreapplication_obiccs1</NodeId>
    <!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager-->
    <HostNameOrIP>HostMachine2</HostNameOrIP>
    <!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager-->
    <ServicePort>9765</ServicePort>
    <!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager-->
    <MonitorPort>9766</MonitorPort>
    <!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager-->
    <ListenAddress>HostMachine2</ListenAddress>
    </Node>
    <Node>
    <!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager-->
    <NodeType>Scheduler</NodeType>
    <!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager-->
    <NodeId>instance2:coreapplication_obisch1</NodeId>
    <!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager-->
    <HostNameOrIP>HostMachine2</HostNameOrIP>
    <!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager-->
    <ServicePort>9770</ServicePort>
    <!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager-->
    <MonitorPort>9771</MonitorPort>
    </Node>
    </NodeList>
    <SSLProperties>
    <!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager--><SSL>false</SSL>
    <SSLCertificateFile/>
    <SSLPrivateKeyFile/>
    <SSLCACertificateFile/>
    <SSLVerifyPeer>false</SSLVerifyPeer>
    </SSLProperties>
    </Cluster>

Maybe you are looking for

  • Where do I set up rules for conflict resolution when syncing iTunes with Outlook?

    I just got an iPhone 5 and I'm coming from a Blackberry.  I've been syncing Outlook Calendar and Contacts to a portable device for over 10 years, even back in the day of the pocket pc and more recently the Blackberry.  My iPhone 5 syncs great and see

  • Displaying File name

    When my clients meet with me, I use the iPod photo functionality to view their photos and make decisions. However, it would make things easier if I knew which photo they liked, amongst a group of similar-posed photos. Using the file name in Bridge ma

  • Use of an entity outside of context

    I am learning EF and I don't know what would be the best approach for this: I have a Menu entity, which holds the menu of a restaurant in a POS application. In the Order form, I only need to read the menu once, and after that I just need it to displa

  • Folder in photo stream won't load

    I created a folder in my photo stream to be used solely as a screen saver on my Apple TV. About half of the 320 pictures appear on the screen and when screen saver initiates, the screen remains blank. Please help.

  • UML model specifications?

    Hi, I want to build an XML representation of an UML model (a couple of classes and relationships between them). I know that I must use XMI, but my problem is another one: where I can find a specification doc concerning all the XML element that I must