NullPointerException at AWS model instantiation.

Hi
I am trying to consume a third party web service in Web Dynpro using AWS model in NW7.0. But at runtime I am getting a NullPointerException at the very first line where I instantiated the model object.  Line of code where the exception is thrown is QasWsModel qasModel= new QasWsModel(); where QasWsModel is the model name. It would be really helpful if you can give some clue on this.
Thanks & regards
Sudip

Hi,
Try deleting the existing Model from the "Models" section of your project. Then recreate the Model using the AWS Wizard. That should clear out the problem. If it doesn't then the model is not beinf created correctly in the AWS.
Try navigating to the exact name of the java file for the Model in the "Navigator" view.
If the Model java file name is accurate then there is probably an issue with the source of the Web Service Implementation. This would mean that you would have to regenerate the WSDL file to ensure that there were no issues.
Hope that helps.
Thanks.
p256960.

Similar Messages

  • Problem in using AWS model for PI interface

    Hi
    We want to consume XI inbound interface for a 3rd party web service in web dynpro via AWS model; we can create the model class from the wsdl file imported from PI interface; but facing some issue in configuring the logical destination as we don't have any wsdl url from PI which we can use in the dynamic proxy configuration.
    Thanks in advance.
    Sudip

    Hi Sudip
      Can you please tell me how did you resolve this issue? We are running into the exact same problem.
    Thanks
    Preet

  • Problem with model instantiation

    I have an EJB model and while instantiating it in WDP I am getting  an error at runtime:
    The initial exception that caused the request to fail, was:
       java.lang.NullPointerException
        at -- Optimized, preallocated exception. No stack trace. Run VM with -XX:-OmitStackTraceInFastThrow to avoid this optimization. -- .()
    I cant make any head and tail out of this. There is absolutely nothing in stackTrace other than the above message. I could instantiate my other EJB models and they are working fine. I dont know why this one particular model is giving some problems...
    I tried reimporting/rebuilding/reload but in vain. My WS (which encapsulates EJB) is working fine.
    Please help!!!

    The compiler does not generate template instances that are already in libCstd, which is linked by default to programs. Instead of trying to force those instances into your shared library, you should build your library with a dependency on libCstd.
    Remember that no system libraries are referenced automatically when you create a shared library -- you have to mention them explicitly. Normally you want to link against libCstd, libCrun, libm and libc. Refer to the C++ User's Guide that comes with the compiler, the "Building Libraries" chapter.

  • Consuming AWS model in webdynpro java application

    Hi,
    We are using the following environment.
    SAP Netweaver Portal 7.3
    Netweaver Developer Studio 7.3.
    We have imported a AWS webservice model in a webdynpro application. When we deploy the application in portal, we are receiving the following runtime error,
    error in executing the model: Illegal model class renaming: Model classes with QNames '/definitions/types/xsd:schema[5]/xsd:element[15]/xsd:complexType' and '/definitions/types/xsd:schema[5]/xsd:element[15]/xsd:complexType#Choice1' were both renamed to the same name 'com.sap.demo.harmanmdmui.wd.models.addresswebservice.RunBatchJobRequest'
    Addresswebservice is the webservice name and harmanmdmui is the application name.
    Pleaae advise me with a probable solution.
    Thanks,
    Appachi

    Hi
    What does the log say?
    Regards
    Yuval

  • Java.lang.NullPointerException in RFC model node

    Hi All,
    I am calling one of RFC from CRM system but getting some NullPointerException in model node.
    Details:
    1. creating input node
    2. pass parameter and bind input node
    3. execute node
    4. invalidate output node
    I am getting this exception when I accessing attributes from output node.
    Why my output node is not invalidated / refresh.
    Please solve this problem.
    Thanks,
    Krishna.

    Hi Krishna,
    Before every BAPI call are you resetting the input param values if any??
    Pls Verify this.
    -Ashwini.

  • Java.lang.NullPointerException while reimporting model

    Hi All,
    I have a Web Dynpro project that contains several models.
    When I try to add a new RFC (by reimporting the model) I get java.lang.NullPointerException.
    I can add the RFC to a new model without any problem but I need to add it to this specific model.
    This is the full error:
    Plugin Name: Web Dynpro Model Editor Services
    Plugin ID: com.sap.ide.webdynpro.service.modeleditor
    Class: com.sap.ide.metamodel.importers.rfcmodel.DynamicRFCModelImporter
    Method: doImportDynRfcModel()
    Message: The RFC could not be imported. Please rectify the error and then try importing the model.
    Exception: com.sap.ide.metamodel.importers.rfcmodel.RFCImportFailedException: RFC Import failed. Cause: class java.lang.NullPointerException:null
    java.lang.NullPointerException
         at com.sap.ide.metamodel.importers.rfcmodel.DynamicRFCModelImporter.ImportRFC(DynamicRFCModelImporter.java:316)
         at com.sap.ide.metamodel.importers.rfcmodel.DynamicRFCModelImporter.doImport(DynamicRFCModelImporter.java:196)
         at com.sap.ide.metamodel.importers.rfcmodel.reimport.DynamicRFCModelReimporter.doImport(DynamicRFCModelReimporter.java:331)
         at com.sap.ide.metamodel.importers.rfcmodel.reimport.DynamicRFCModelReimporter.getImportLog(DynamicRFCModelReimporter.java:264)
         at com.sap.ide.webdynpro.modeleditor.wizards.model.creation.ModelWizard$11.run(ModelWizard.java:1344)
         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:302)
         at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:252)
         at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:758)
         at com.sap.ide.webdynpro.modeleditor.wizards.model.creation.ModelWizard.doReimportDynRfcModel(ModelWizard.java:1361)
         at com.sap.ide.webdynpro.modeleditor.wizards.model.creation.ModelDialog.nextPressed(ModelDialog.java:69)
         at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:316)
         at org.eclipse.jface.dialogs.Dialog$1.widgetSelected(Dialog.java:423)
         at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)
         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)
         at org.eclipse.jface.window.Window.runEventLoop(Window.java:583)
         at org.eclipse.jface.window.Window.open(Window.java:563)
         at com.sap.ide.webdynpro.modeleditor.ModelEditorCallback.reimportModel(ModelEditorCallback.java:218)
         at com.sap.ide.webdynpro.service.modeleditor.ModelService.reImportModel(ModelService.java:207)
         at com.sap.ide.webdynpro.service.modeleditor.ServiceWithUI.reImportModel(ServiceWithUI.java:120)
         at com.sap.ide.webdynpro.tsmodel.application.actions.ReimportModelAction.run(ReimportModelAction.java:11)
         at com.sap.ide.webdynpro.projectbrowser.actions.PBReimportModelAction.run(PBReimportModelAction.java:77)
         at com.sap.ide.webdynpro.projectbrowser.actions.PBDevelopmentObjectAction.runInternal(PBDevelopmentObjectAction.java:80)
         at com.sap.ide.webdynpro.projectbrowser.actions.PBDevelopmentObjectAction.run(PBDevelopmentObjectAction.java:61)
         at com.tssap.selena.model.extension.action.SelenaActionCollector$GenericElementActionWrapper.run(SelenaActionCollector.java:224)
         at com.tssap.util.ui.menu.MenuFactory$MuSiAction.saveRunAction(MenuFactory.java:1425)
         at com.tssap.util.ui.menu.MenuFactory$MuSiAction.run(MenuFactory.java:1407)
         at com.tssap.util.ui.menu.MenuFactory$DelegateAction.processInternal(MenuFactory.java:616)
         at com.tssap.util.ui.menu.MenuFactory$DelegateAction.access$100(MenuFactory.java:586)
         at com.tssap.util.ui.menu.MenuFactory$DelegateAction$BusyProcessWorker.run(MenuFactory.java:716)
         at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
         at com.tssap.util.ui.menu.MenuFactory$DelegateAction.process(MenuFactory.java:610)
         at com.tssap.util.ui.menu.internal.MenuListenerFactory$ProcessAdapter.widgetSelected(MenuListenerFactory.java:172)
         at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)
         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)
         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)
         at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
         at com.tssap.util.startup.WBLauncher.run(WBLauncher.java:79)
         at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)
         at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sap.ide.eclipse.startup.Main.basicRun(Main.java:286)
         at com.sap.ide.eclipse.startup.Main.run(Main.java:795)
         at com.sap.ide.eclipse.startup.Main.main(Main.java:602)
    I tried to restart the NWDS or test it on another computer - didn't help.
    My NWDS version is SP16.
    Thanks,
    Omri

    Hi,
    Check whether this helps.
    RFC Reimporting failed
    BAPI Reimport
    -Nagarajan.

  • NullPointerException:oracle.adf.model.binding.DCIteratorBinding.releaseData

    Hi
    Recently, I am getting following exception when I simply login into the application without any tasks being performed, there were no changes made to the code or to the server. This is on my local server.
    java.lang.NullPointerException
         at oracle.adf.model.binding.DCIteratorBinding.releaseData(DCIteratorBinding.java:2731)
         at oracle.adf.model.binding.DCIteratorBinding.setRefreshed(DCIteratorBinding.java:4613)
         at oracle.adf.model.binding.DCIteratorBinding.refreshControl(DCIteratorBinding.java:658)
         at oracle.jbo.uicli.binding.JUIteratorBinding.refreshControl(JUIteratorBinding.java:474)
         at oracle.adf.model.binding.DCIteratorBinding.refresh(DCIteratorBinding.java:4377)
         at oracle.adf.model.binding.DCBindingContainer.refreshExecutables(DCBindingContainer.java:3446)
         at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3281)
         at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2845)
         at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareModel(PageLifecycleImpl.java:112)
         at oracle.adf.controller.v2.lifecycle.Lifecycle$2.execute(Lifecycle.java:137)
         at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:192)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.access$400(ADFPhaseListener.java:21)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$PhaseInvokerImpl.startPageLifecycle(ADFPhaseListener.java:231)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$1.after(ADFPhaseListener.java:267)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:71)
         at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.afterPhase(ADFLifecyclePhaseListener.java:53)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:364)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:414)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    SUBSYSTEM = HTTP USERID = <WLS Kernel> SEVERITY = Error THREAD = [ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)' MSGID = BEA-101020 MACHINE = IT-DiptiU-V TXID = CONTEXTID = 2cf9068933459fe2:16e8e286:1331839917a:-8000-00000000000000f2 TIMESTAMP = 1318972850514
    WatchAlarmType: AutomaticReset
    WatchAlarmResetPeriod: 30000
    Strangely, the same app i deployed on the Unix Development Server & the it works perfectly fine.
    I went through all the forum solution, nothing has helped me out :(
    Please Help.
    Thanks.
    Tina

    Hi Timo.
    Following are the answers.
    Which jdev version? --- 11.1.1.3.0
    Which kind of application? ---- It is a simple ADF fusion application.
    What Other systems your application talks to? --- Application is having DB as Oracle & Weblogic server, doesnt talk to any other systems.
    Which kind of security do you use? --- JAAS security.
    I have a login page. After entering the UID & PWD, it gets verified against JAAS. If it is a valid user it displays the Screen with all the records for that User.
    Problem is when i Click on the Login button, it tries to do something for a second & after a while it displays this exception on the screen.
    My Local server is a Windows server, while this same application works fine when deployed to a Unix Server. I checked all the configuration on both the servers, didnt get anything that makes any difference.
    Pls Help.
    Thanks.
    Tina.

  • NullPointerException on polymorphic model registration

    I'm attempting to persist this heavily polymorphic heirarchial tree of mine:
    @Persistent interface Node
    @Persistent interface Child
    @Persistent interface Branched
    @Persistent abstract class AbstractNode {
      @PrimaryKey(sequence = "Node.id")
      private Long id;
    @Entity class Root extends AbstractNode implements Branched {
      @SecondaryKey(relate = Relationship.ONE_TO_MANY, relatedEntity = Child.class)
      private Long[] children = new Long[2];
    @Entity class Branch extends AbstractNode implementes Branched, Child {
      @SecondaryKey(relate = Relationship.ONE_TO_MANY, relatedEntity = Child.class)
      private Long[] children = new Long[2];
      @SecondaryKey(relate = Relationship.MANY_TO_ONE, relatedEntity = Branched.class)
      private Long parent;
    @Entity class Leaf extends AbstractNode implements Child {
      @SecondaryKey(relate = Relationship.MANY_TO_ONE, relatedEntity = Branched.class)
      private Long parent;
    }This is the problem I hit:
    java.lang.NullPointerException
         at com.sleepycat.persist.model.AnnotationModel.updateEntityInfo(AnnotationModel.java:329)
         at com.sleepycat.persist.model.AnnotationModel.getClassMetadata(AnnotationModel.java:134)
         at com.sleepycat.persist.model.EntityModel.registerClass(EntityModel.java:99)
         at org.apache.lucene.clusterer.tree.Tree.<init>(Tree.java:82)
    Where Tree.java is:
    81:    EntityModel model = new AnnotationModel();
    82:    model.registerClass(Node.class);
    83:    model.registerClass(Child.class);I set it up manually because I hit the 'same' exception from my inital getPrimaryIndex(.. when I don't:
    java.lang.NullPointerException
         at com.sleepycat.persist.model.AnnotationModel.updateEntityInfo(AnnotationModel.java:329)
         at com.sleepycat.persist.model.AnnotationModel.getClassMetadata(AnnotationModel.java:134)
         at com.sleepycat.persist.model.AnnotationModel.getEntityMetadata(AnnotationModel.java:71)
         at com.sleepycat.persist.impl.Store.checkEntityClass(Store.java:1076)
         at com.sleepycat.persist.impl.Store.getRelatedIndex(Store.java:478)
         at com.sleepycat.persist.impl.Store.openSecondaryIndex(Store.java:653)
         at com.sleepycat.persist.impl.Store.openSecondaryIndexes(Store.java:616)
         at com.sleepycat.persist.impl.Store.getPrimaryIndex(Store.java:368)
         at com.sleepycat.persist.EntityStore.getPrimaryIndex(EntityStore.java:245)
         at org.apache.lucene.clusterer.tree.Tree.<init>(Tree.java:96)
    90://    model.registerClass(Cluster.class);
    91://    storeConfig.setModel(model);
    92:
    93:    store = new EntityStore(env, "tree", storeConfig);
    94:
    95:
    96:    rootsById = store.getPrimaryIndex(Long.class, Root.class);Please advice. Code is available.
    /Tony
    Not too off topic, I saw in an earlier post (Re: Polymorphism and DPL that someone had problems persisting their polymorphic subclasses via a single method. I solved that using a visitor pattern:
    public interface Node {
      public abstract void accept(Visitor visitor);
    public class Tree  {
      private final Visitor putVisitor = new Visitor() {
        public void visit(Leaf leaf) {
            leafsById.put(leaf);
        public void visit(Branch branch) {
            branchesById.put(branch);
        public void visit(Root root) {
            rootsById.put(root);
      public void doTheThing(Node node) {
        node.accept(putVisitor);
    }Message was edited by:
    Tony Clifton
    Formatted text

    Hi Tony,
    The problem turned out to be
    SecondaryKey(relatedEntity = My@PersistentInterface)Right. A relatedEntity must be an entity class. Interfaces may not be @Persistent or @Entity.
    Sorry about the NPE, you should get a more meaningful exception when trying to make an interface @Persistent. I'll fix that and also clarify it in the javadoc.
    It would be really nice with @PrimaryKey at
    method-level.Methods are not used to define persistence in the DPL for a couple reasons:
    1) Simplicity. Only fields are persistent, which is a simple rule. However, it is limiting. For example, you can't have a computed secondary key or a secondary key field nested in a sub-object, except by adding a redundant field in the @Entity class. For now, I suggest using the redundant field approach.
    2) Performance. A key design goal for DPL is to avoid un-marshaling entities in the middle of JE read and write operations, in order to extract secondary keys from entity data. DPL stores secondary key values at the front of the record data, so extracting the value is very fast and does not require a full un-marshal. However, perhaps key values returned by annotated methods could be stored redundantly at the front of the record. Or if that isn't feasible, we simply say that you pay a performance penalty for using methods rather than fields to define persistence. More design work is needed, but it is probably feasible.
    For now I'm going to put this aside and list it as something to consider in the future as a DPL enhancement. Please don't expect this to be added soon, but we will be thinking about it.
    --mark                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Error: When importing a Webserive using AWS Model

    Hi Experts,
    The webservice is created in .NET and i am able to test the same.
    When i try to import the same into Webdynpro, i am getting the following error.
    Even i tried to import the webservice after saving it locally also, i am getting the following error.
    Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.WebserviceClientException: GenericServiceFactory initialization problem. Could not load web service model. See nested exception for details.
         at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.generateProxyFiles(DGenericServiceImpl.java:149)
         at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.<init>(DGenericServiceImpl.java:49)
         at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService(GenericServiceFactory.java:71)
         at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getOrCreateWsrService(WSModelInfo.java:411)
         ... 53 more
    Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.ProxyGeneratorException: Proxy Generator Error. Problem with WSDL file parsing. See nested message.
         at com.sap.engine.services.webservices.jaxrpc.wsdl2java.ProxyGenerator.generateProxy(ProxyGenerator.java:182)
         at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.generateProxyFiles(DGenericServiceImpl.java:146)
         ... 56 more
    Caused by: com.sap.engine.lib.xml.util.NestedException: IO Exception occurred while parsing file:Cannot connect to http://xxx/ws/service.asmx?Config1.WSDL, passing via http proxy: :80: Connection refused: connect -> java.io.IOException: Cannot connect to http://xxxx/ws/service.asmx?Config1.WSDL, passing via http proxy: :80: Connection refused: connect
         at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadDOMDocument(WSDLDOMLoader.java:1028)
         at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadWSDLDocument(WSDLDOMLoader.java:1115)
         at com.sap.engine.services.webservices.jaxrpc.wsdl2java.ProxyGenerator.generateProxy(ProxyGenerator.java:178)
         ... 57 more
    Caused by: java.io.IOException: Cannot connect to http://xxxx/ws/service.asmx?Config1.WSDL, passing via http proxy: :80: Connection refused: connect
         at com.sap.engine.services.webservices.tools.WSDLDownloadResolver.resolveEntity(WSDLDownloadResolver.java:161)
         at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadDOMDocument(WSDLDOMLoader.java:1008)
         ... 59 more
    Thanks & Regards,
    Palani
    Edited by: Palaniappan A on Jan 5, 2010 6:05 AM

    Hi Experts,
    I am not able to Paste, WSDL code here.
    Please help me to sort out this problem.
      <?xml version="1.0" encoding="utf-8" ?>
    - <wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="Wartsila.PTIP.WebServices.CatalogueServices" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="Wartsila.PTIP.WebServices.CatalogueServices" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
    - <wsdl:types>
    - <s:schema elementFormDefault="qualified" targetNamespace="Wartsila.PTIP.WebServices.CatalogueServices">
    - <s:element name="GetMaterialInfo">
    - <s:complexType>
    - <s:sequence>
      <s:element minOccurs="0" maxOccurs="1" name="materialNumber" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="materialDescription" type="s:string" />
      </s:sequence>
      </s:complexType>
      </s:element>
    - <s:element name="GetMaterialInfoResponse">
    - <s:complexType>
    - <s:sequence>
      <s:element minOccurs="0" maxOccurs="1" name="GetMaterialInfoResult" type="tns:ArrayOfMaterialInfo" />
      </s:sequence>
      </s:complexType>
      </s:element>
    - <s:complexType name="ArrayOfMaterialInfo">
    - <s:sequence>
      <s:element minOccurs="0" maxOccurs="unbounded" name="MaterialInfo" nillable="true" type="tns:MaterialInfo" />
      </s:sequence>
      </s:complexType>
    - <s:complexType name="MaterialInfo">
    - <s:sequence>
      <s:element minOccurs="0" maxOccurs="1" name="VendorNumber" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="CurrencyCode" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="MaterialNumber" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="ShortText" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="OrderUnit" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="NetPrice" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="PriceUnit" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="MaterialGroup" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="DeliveryTime" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="GlAccount" type="s:string" />
      </s:sequence>
      </s:complexType>
      <s:element name="ArrayOfMaterialInfo" nillable="true" type="tns:ArrayOfMaterialInfo" />
      </s:schema>
      </wsdl:types>
    - <wsdl:message name="GetMaterialInfoSoapIn">
      <wsdl:part name="parameters" element="tns:GetMaterialInfo" />
      </wsdl:message>
    - <wsdl:message name="GetMaterialInfoSoapOut">
      <wsdl:part name="parameters" element="tns:GetMaterialInfoResponse" />
      </wsdl:message>
    - <wsdl:message name="GetMaterialInfoHttpGetIn">
      <wsdl:part name="materialNumber" type="s:string" />
      <wsdl:part name="materialDescription" type="s:string" />
      </wsdl:message>
    - <wsdl:message name="GetMaterialInfoHttpGetOut">
      <wsdl:part name="Body" element="tns:ArrayOfMaterialInfo" />
      </wsdl:message>
    - <wsdl:message name="GetMaterialInfoHttpPostIn">
      <wsdl:part name="materialNumber" type="s:string" />
      <wsdl:part name="materialDescription" type="s:string" />
      </wsdl:message>
    - <wsdl:message name="GetMaterialInfoHttpPostOut">
      <wsdl:part name="Body" element="tns:ArrayOfMaterialInfo" />
      </wsdl:message>
    - <wsdl:portType name="ServiceSoap">
    - <wsdl:operation name="GetMaterialInfo">
      <wsdl:input message="tns:GetMaterialInfoSoapIn" />
      <wsdl:output message="tns:GetMaterialInfoSoapOut" />
      </wsdl:operation>
      </wsdl:portType>
    - <wsdl:portType name="ServiceHttpGet">
    - <wsdl:operation name="GetMaterialInfo">
      <wsdl:input message="tns:GetMaterialInfoHttpGetIn" />
      <wsdl:output message="tns:GetMaterialInfoHttpGetOut" />
      </wsdl:operation>
      </wsdl:portType>
    - <wsdl:portType name="ServiceHttpPost">
    - <wsdl:operation name="GetMaterialInfo">
      <wsdl:input message="tns:GetMaterialInfoHttpPostIn" />
      <wsdl:output message="tns:GetMaterialInfoHttpPostOut" />
      </wsdl:operation>
      </wsdl:portType>
    - <wsdl:binding name="ServiceSoap" type="tns:ServiceSoap">
      <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
    - <wsdl:operation name="GetMaterialInfo">
      <soap:operation soapAction="Wartsila.PTIP.WebServices.CatalogueServices/GetMaterialInfo" style="document" />
    - <wsdl:input>
      <soap:body use="literal" />
      </wsdl:input>
    - <wsdl:output>
      <soap:body use="literal" />
      </wsdl:output>
      </wsdl:operation>
      </wsdl:binding>
    - <wsdl:binding name="ServiceSoap12" type="tns:ServiceSoap">
      <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
    - <wsdl:operation name="GetMaterialInfo">
      <soap12:operation soapAction="Wartsila.PTIP.WebServices.CatalogueServices/GetMaterialInfo" style="document" />
    - <wsdl:input>
      <soap12:body use="literal" />
      </wsdl:input>
    - <wsdl:output>
      <soap12:body use="literal" />
      </wsdl:output>
      </wsdl:operation>
      </wsdl:binding>
    - <wsdl:binding name="ServiceHttpGet" type="tns:ServiceHttpGet">
      <http:binding verb="GET" />
    - <wsdl:operation name="GetMaterialInfo">
      <http:operation location="/GetMaterialInfo" />
    - <wsdl:input>
      <http:urlEncoded />
      </wsdl:input>
    - <wsdl:output>
      <mime:mimeXml part="Body" />
      </wsdl:output>
      </wsdl:operation>
      </wsdl:binding>
    - <wsdl:binding name="ServiceHttpPost" type="tns:ServiceHttpPost">
      <http:binding verb="POST" />
    - <wsdl:operation name="GetMaterialInfo">
      <http:operation location="/GetMaterialInfo" />
    - <wsdl:input>
      <mime:content type="application/x-www-form-urlencoded" />
      </wsdl:input>
    - <wsdl:output>
      <mime:mimeXml part="Body" />
      </wsdl:output>
      </wsdl:operation>
      </wsdl:binding>
    - <wsdl:service name="Service">
    - <wsdl:port name="ServiceSoap" binding="tns:ServiceSoap">
      <soap:address location="http://ptipqa.wartsila.com/ws/service.asmx" />
      </wsdl:port>
    - <wsdl:port name="ServiceSoap12" binding="tns:ServiceSoap12">
      <soap12:address location="http://ptipqa.wartsila.com/ws/service.asmx" />
      </wsdl:port>
    - <wsdl:port name="ServiceHttpGet" binding="tns:ServiceHttpGet">
      <http:address location="http://ptipqa.wartsila.com/ws/service.asmx" />
      </wsdl:port>
    - <wsdl:port name="ServiceHttpPost" binding="tns:ServiceHttpPost">
      <http:address location="http://ptipqa.wartsila.com/ws/service.asmx" />
      </wsdl:port>
      </wsdl:service>
      </wsdl:definitions>
    Regards,
    Palani
    Edited by: Palaniappan A on Jan 11, 2010 6:49 AM

  • Difference between webservices model and adaptive  webservices model

    hi
        Can any one explain me regarding Difference between webservices model and adaptive  webservices model.
    Thanks

    Hi,
    In old WS Model, ithere was no concept of logical destinations.
    There if you are using a WSDL located on a server and if the location of the WSDL
    changes, your application won't run. The deployed application using the WS Model will have trouble finding
    the WSDL. As a result you'll have to again import the
    model. Moreover old WS Model does not have re-import functionality.
    But incase of AWS Model, you can desine logical destinations and even if the location of the WSDL changes, all you have to do is change the new url in the Visual Admin and not import the model again.
    You can visit the following link for more details:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b04308ed-62d5-2910-b3a6-c26771b1c78e
    Regards,
    Nidhi

  • Probelm setting up Adaptive Web Service model

    I am having a problem setting up AWS using the wizard.  The WDSL file I need to go to requires user id and password.  While viewing it on IE is not a problem because IE passes my integrated Windows credential over behind the scene, it fails while I am trying to create an AWS model from this WDSL URL. 
    After I enter the WDSL URL, the AWS wizard prompts me for user id and password for the destination server.  I put in my id and password but it will not take it.  I tried entering my id with and without the domain name but none of them works.  In the log, I got the follwoing error message.  Does anyone encounter this problem before? 
    I don't have problem creating an AWS for web sevrice that does not require user id/password. 
    Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (401) Unauthorized. The requested URL was:"http://hostname/thewebservice.asmx?WSDL"
         at com.sap.engine.services.webservices.tools.WSDLDownloadResolver.resolveEntity(WSDLDownloadResolver.java:201)
         at com.sap.engine.services.webservices.tools.WSDLDownloadResolver.resolveEntity(WSDLDownloadResolver.java:188)
         at com.sap.engine.services.webservices.tools.WSDLDownloadResolver.resolveEntity(WSDLDownloadResolver.java:122)
         at com.sap.engine.services.webservices.espbase.wsdl.WSDLLoader.loadDOMDocument(WSDLLoader.java:127)
    Thanks.

    Hi Robert
    The error says "Unauthorized". Maybe the user/password does not have an appropriate permission to access the WSDL resource.
    Additionally, as I remember, the Import wizard optionally supports import from local WSDL files. So you can download WSDL in IE, store it locally and pass to the wizard. To download WSDL try to add parameter u201C&zipu201D to the WSDL URL:
    http://hostname/thewebservice.asmx?WSDL&zip
    Another way to download WSDL is NWA -> SOA Management -> Application and Scenario Communication -> Single Service Administration, but you must know credentials for NetWeaver Administrator on the remote Web service provider system.
    BR, Siarhei

  • Shared Node Model not created

    I have created multiple task flows and created the adf menu models. I have created the views for all the nodes and have created shared nodes for the lower level task flows. I have verified that the managed beans are all present for each task flow and they are located in the appropriate menu models XML file and referenced in the root_menu.
    When I run the page I get the following error: java.lang.NullPointerException: Shared Node Model not created for query_menu. Check for the existence of the corresponding managed bean in your config files.
    I did find another post related to this problem, but did not understand the post.
    They suggested looking at the following:
    "The file that should contain the menu bean is the file specified in the service-level property "Service Adfc Config". Can you check whether this property has a valid value? Also, make sure the advanced service-level checkbox property "generate ADFc Config Files?" is checked."
    Where do I locate the service-level property "Service Adfc Config"? I have been looking through all the config files in the application and the preferences in JDeveloper.
    I am new to JDeveloper and ADF.
    Thank you for your help.
    Chris

    Hi,
    It makes perfect sense that menu_root.xml has a reference to the managed bean #{JhsMigrateModuleMenu}.
    This bean should be defined in the adfc-config for your appmodule, probably /WEB-INF/adfc-config-jhsmigratemodule.xml
    It looks like this (with different names):
    <!-- DEBUG:BEGIN:MENU_BEAN : default/misc/facesConfig/menuBean.vm, nesting level: 2 -->
    <managed-bean>
    <managed-bean-name>AppModuleMenu</managed-bean-name>
    <managed-bean-class>oracle.jheadstart.controller.jsf.bean.JhsXMLMenuModel</managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    <managed-property>
    <property-name>source</property-name>
    <property-class>java.lang.String</property-class>
    <value>/WEB-INF/menu-appmodule.xml</value>
    </managed-property>
    </managed-bean>
    <!-- DEBUG:END:MENU_BEAN : default/misc/facesConfig/menuBean.vm, nesting level: 2-->
    I guess that this definition is missing or has the wrong name or something. Perhaps it is pointing to an invalid XML menu model file (in my case /WEB-INF/menu-appmodule.xml)
    Can you post your findings here?
    Regards
    Evert-Jan de Bruin
    JHeadstart Team

  • Workshop CRASHED while editing a page flow

    Workshop Gurus -
    Any clues on this bug. I get this error while editing pageflow. It just started
    happening this morning.
    I must say, WLW crashes gracefully. It allows me to report this message directly
    to BEA, and then allows me to save my files. However, I do need a resolution to
    this problem, hopefully soon.
    java.lang.NullPointerException
         at workshop.pageflow.model.ExternalPageFlow.refChanged(ExternalPageFlow.java:120)
         at workshop.pageflow.model.DocumentEventAdapter.processModelObjects(DocumentEventAdapter.java:492)
         at workshop.pageflow.model.DocumentEventAdapter.process(DocumentEventAdapter.java:177)
         at workshop.pageflow.model.DocumentEventAdapter.elementChange(DocumentEventAdapter.java:123)
         at com.bea.ide.element.ElementChangeSupport.fireListeners(ElementChangeSupport.java:253)
         at com.bea.ide.element.ElementChangeSupport.fireElementChange(ElementChangeSupport.java:243)
         at com.bea.ide.element.ElementChangeSupport.fireElementChange(ElementChangeSupport.java:219)
         at com.bea.ide.document.DefaultDocument.fireElementChildRemoved(DefaultDocument.java:482)
         at com.bea.ide.sourceeditor.DefaultSourceDocument.mergeComplete(DefaultSourceDocument.java:523)
         at com.bea.ide.sourceeditor.DefaultSourceDocument.mergeMetadata(DefaultSourceDocument.java:610)
         at workshop.sourceeditor.compiler.CompilerProject$MergeRunner.run(CompilerProject.java:1448)
         at workshop.sourceeditor.compiler.CompilerSvcImpl$TreeMergeLock.runMerger(CompilerSvcImpl.java:161)
         at workshop.sourceeditor.compiler.CompilerProject$4.run(CompilerProject.java:1498)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:448)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
    Thanks
    Kunal Mittal

    Raj -
    Yes I am using SP2. I have had Workshop crash SEVERAL times when working with
    page flows. Some sort of null pointer exception. The only good thing is that workshop
    crashes gracefully, so I didn't lose any work that I was doing.
    Thanks.
    Kunal
    "Raj Alagumalai" <[email protected]> wrote:
    Kunal,
    Can you try using SP2 ?
    Thanks,
    Raj Alagumalai
    Backline Workshop Support
    "Kunal Mittal" <[email protected]> wrote in message
    news:[email protected]...
    Workshop Gurus -
    Any clues on this bug. I get this error while editing pageflow. Itjust
    started
    happening this morning.
    I must say, WLW crashes gracefully. It allows me to report this messagedirectly
    to BEA, and then allows me to save my files. However, I do need aresolution to
    this problem, hopefully soon.
    java.lang.NullPointerException
    atworkshop.pageflow.model.ExternalPageFlow.refChanged(ExternalPageFlow.java:12
    0)
    atworkshop.pageflow.model.DocumentEventAdapter.processModelObjects(DocumentEve
    ntAdapter.java:492)
    atworkshop.pageflow.model.DocumentEventAdapter.process(DocumentEventAdapter.ja
    va:177)
    atworkshop.pageflow.model.DocumentEventAdapter.elementChange(DocumentEventAdap
    ter.java:123)
    atcom.bea.ide.element.ElementChangeSupport.fireListeners(ElementChangeSupport.
    java:253)
    atcom.bea.ide.element.ElementChangeSupport.fireElementChange(ElementChangeSupp
    ort.java:243)
    atcom.bea.ide.element.ElementChangeSupport.fireElementChange(ElementChangeSupp
    ort.java:219)
    atcom.bea.ide.document.DefaultDocument.fireElementChildRemoved(DefaultDocument
    .java:482)
    atcom.bea.ide.sourceeditor.DefaultSourceDocument.mergeComplete(DefaultSourceDo
    cument.java:523)
    atcom.bea.ide.sourceeditor.DefaultSourceDocument.mergeMetadata(DefaultSourceDo
    cument.java:610)
    atworkshop.sourceeditor.compiler.CompilerProject$MergeRunner.run(CompilerProje
    ct.java:1448)
    atworkshop.sourceeditor.compiler.CompilerSvcImpl$TreeMergeLock.runMerger(Compi
    lerSvcImpl.java:161)
    atworkshop.sourceeditor.compiler.CompilerProject$4.run(CompilerProject.java:14
    98)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:448)
    atjava.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.ja
    va:197)
    atjava.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
    :150)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
    Thanks
    Kunal Mittal

  • JBO-25017 Sporadic error during AM passivation/activation

    As I said in the other thread, I have found one nasty error that happens sporadically and cannot be reproduced in production environment.
    But with disabling AM pooling during the stress test I can see this error:
    JBO-29000: Unexpected exception caught: oracle.jbo.RowCreateException, msg=JBO-25017: Error while creating a new entity row for MailOut.
    JBO-25017: Error while creating a new entity row for MailOut.
    java.lang.NullPointerException
    Here is how I create the new record. Say on a page A there is a link "NEW" which takes user to data entry page B.
    before the page B renders, it calls AM exposed method
    <invokeAction id="prepareSentMail" Binds="prepareToCreateNewSentMail"
                 Refresh="prepareModel"
                 RefreshCondition="${adfFacesContext.postback == false}"/>
    <methodAction id="prepareToCreateNewSentMail"
                      InstanceName="TrackingService.dataProvider"
                      DataControl="TrackingService"
                      MethodName="prepareToCreateNewSentMail"
                      RequiresUpdateModel="true" Action="999">
          <NamedData NDName="studyId" NDValue="${sessionScope.studyId}"
                     NDType="java.lang.String"/>
          <NamedData NDName="individualId" NDValue="${sessionScope.individualId}"
                     NDType="java.lang.String"/>
        </methodAction>So page calls prepareToCreateNewSentMail AM method:
        public void prepareToCreateNewSentMail(String studyId, String individualId) {
            ViewObject vo = getSentMail();
            vo.clearCache();
            //removeAnyInvalidNewSentMail();
            //vo.setMaxFetchSize(0);
            //vo.executeQuery();
            //vo.setWhereClause(null);
            //vo.setWhereClauseParams(null);
            Row newRow = vo.createRow(); //<-- CRASHES HERE!!!
            vo.insertRow(newRow);
            newRow.setNewRowState(Row.STATUS_INITIALIZED);
            vo.setCurrentRow(newRow);
            String studyPhaseId = JSFUtils.getFromSession("studyPhaseId").toString();
            newRow.setAttribute("StudyPhaseId", studyPhaseId);
            String studyPhaseOrder = JSFUtils.getFromSession("studyPhaseOrder").toString();
            this.getStudyPhasesUntilCurrent().prepareStudyPhasesDropDownList(studyId,studyPhaseOrder);
            newRow.setAttribute("StudyId",studyId);
            newRow.setAttribute("IndividualId",individualId);
            newRow.setAttribute("HowSentId","REG");
            newRow.setAttribute("DateSent",new Date(Date.getCurrentDate()));
        }And so the error shows @ Row newRow = vo.createRow(); line
    I will post later when(if) I make progress

    I have modified the code as:
    public void prepareToCreateNewSentMail(String studyId, String individualId) {
    //..... code from above goes here
            try {
                Row newRow = vo.createRow(); // THIS IS LINE 424
                vo.insertRow(newRow);
                newRow.setNewRowState(Row.STATUS_INITIALIZED);
                vo.setCurrentRow(newRow);
             //the rest of the code goes here
            catch (Exception e){
                e.printStackTrace();
    }and here is the printout:
    oracle.jbo.RowCreateException: JBO-25017: Error while creating a new entity row for MailOut.
         at oracle.jbo.server.ViewRowStorage.create(ViewRowStorage.java:903)
         at oracle.jbo.server.ViewRowImpl.create(ViewRowImpl.java:340)
         at oracle.jbo.server.ViewRowImpl.callCreate(ViewRowImpl.java:357)
         at oracle.jbo.server.ViewObjectImpl.createInstance(ViewObjectImpl.java:2794)
         at oracle.jbo.server.QueryCollection.createRowWithEntities(QueryCollection.java:1304)
         at oracle.jbo.server.ViewRowSetImpl.createRowWithEntities(ViewRowSetImpl.java:1869)
         at oracle.jbo.server.ViewRowSetImpl.doCreateAndInitRow(ViewRowSetImpl.java:1910)
         at oracle.jbo.server.ViewRowSetImpl.createRow(ViewRowSetImpl.java:1891)
         at oracle.jbo.server.ViewObjectImpl.createRow(ViewObjectImpl.java:6580)
         at tracking.model.services.TrackingServiceImpl.prepareToCreateNewSentMail(TrackingServiceImpl.java:424)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at oracle.adf.model.binding.DCInvokeMethod.invokeMethod(DCInvokeMethod.java:507)
         at oracle.adf.model.binding.DCDataControl.invokeMethod(DCDataControl.java:1795)
         at oracle.adf.model.bc4j.DCJboDataControl.invokeMethod(DCJboDataControl.java:1982)
         at oracle.adf.model.binding.DCInvokeMethod.callMethod(DCInvokeMethod.java:219)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1289)
         at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:1802)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:627)
         at oracle.adf.model.binding.DCInvokeActionDef$DCInvokeAction.refresh(DCInvokeActionDef.java:140)
         at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:2521)
         at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2260)
         at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareModel(PageLifecycleImpl.java:99)
         at oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.prepareModel(FacesPageLifecycle.java:73)
         at oracle.adf.controller.v2.lifecycle.Lifecycle$8.execute(Lifecycle.java:210)
         at oracle.adf.controller.v2.lifecycle.Lifecycle.executePhase(Lifecycle.java:116)
         at oracle.adf.controller.faces.lifecycle.ADFPhaseListener.mav$executePhase(ADFPhaseListener.java:29)
         at oracle.adf.controller.faces.lifecycle.ADFPhaseListener$1.before(ADFPhaseListener.java:412)
         at oracle.adf.controller.faces.lifecycle.ADFPhaseListener.beforePhase(ADFPhaseListener.java:77)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:228)
         at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:137)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:214)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:228)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:197)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:123)
         at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:103)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:620)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:369)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:865)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:447)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:215)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    ## Detail 0 ##
    java.lang.NullPointerException
         at tracking.model.businessobjects.MailOutImpl.create(MailOutImpl.java:41)
         at oracle.jbo.server.EntityImpl.callCreate(EntityImpl.java:442)
         at oracle.jbo.server.ViewRowStorage.create(ViewRowStorage.java:890)
         at oracle.jbo.server.ViewRowImpl.create(ViewRowImpl.java:340)
         at oracle.jbo.server.ViewRowImpl.callCreate(ViewRowImpl.java:357)
         at oracle.jbo.server.ViewObjectImpl.createInstance(ViewObjectImpl.java:2794)
         at oracle.jbo.server.QueryCollection.createRowWithEntities(QueryCollection.java:1304)
         at oracle.jbo.server.ViewRowSetImpl.createRowWithEntities(ViewRowSetImpl.java:1869)
         at oracle.jbo.server.ViewRowSetImpl.doCreateAndInitRow(ViewRowSetImpl.java:1910)
         at oracle.jbo.server.ViewRowSetImpl.createRow(ViewRowSetImpl.java:1891)
         at oracle.jbo.server.ViewObjectImpl.createRow(ViewObjectImpl.java:6580)
         at tracking.model.services.TrackingServiceImpl.prepareToCreateNewSentMail(TrackingServiceImpl.java:424)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at oracle.adf.model.binding.DCInvokeMethod.invokeMethod(DCInvokeMethod.java:507)
         at oracle.adf.model.binding.DCDataControl.invokeMethod(DCDataControl.java:1795)
         at oracle.adf.model.bc4j.DCJboDataControl.invokeMethod(DCJboDataControl.java:1982)
         at oracle.adf.model.binding.DCInvokeMethod.callMethod(DCInvokeMethod.java:219)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1289)
         at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:1802)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:627)
         at oracle.adf.model.binding.DCInvokeActionDef$DCInvokeAction.refresh(DCInvokeActionDef.java:140)
         at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:2521)
         at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2260)
         at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareModel(PageLifecycleImpl.java:99)
         at oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.prepareModel(FacesPageLifecycle.java:73)
         at oracle.adf.controller.v2.lifecycle.Lifecycle$8.execute(Lifecycle.java:210)
         at oracle.adf.controller.v2.lifecycle.Lifecycle.executePhase(Lifecycle.java:116)
         at oracle.adf.controller.faces.lifecycle.ADFPhaseListener.mav$executePhase(ADFPhaseListener.java:29)
         at oracle.adf.controller.faces.lifecycle.ADFPhaseListener$1.before(ADFPhaseListener.java:412)
         at oracle.adf.controller.faces.lifecycle.ADFPhaseListener.beforePhase(ADFPhaseListener.java:77)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:228)
         at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:137)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:214)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:228)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:197)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:123)
         at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:103)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:620)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:369)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:865)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:447)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:215)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)

  • Consuming 3rd party web service in Java web dynpro application

    Hi All,
    I am working on a scenario where external(3rd party) web service has to be consumed in WD Java application. I am provided with WSDL file. Let me explain how I usually consume other webservices:
         Create model->AWS model->Remote Location/file System->provide url->create/choose service group->finish
         Then I would generate the code in custom controller by applying template
          I assign provider system as local for the service group in nwa.
    This is normal process to me. I am struck with this 3rd party web service. Please share your ideas on the same. Any help is highly appreciated.
    BR,
    Manoj

    I ve created a provider system pointing to where 3rd party WS resides. i am trying to connect through WSIL. While pinging that provider system, I don't see that particular WS(that I am gonna consume). And while assigning this Provider system to service group, processing state getting 'Failed'.
    What could be reason?

Maybe you are looking for