Flat XML in the WSDL

hello
I am recieving in RFC2WS a WSDL. in the respone the WSDL look like this:
<s:element name="GetZagmshDataResponse">
  <s:complexType>
    <s:sequence>
        <s:element minOccurs="0" maxOccurs="1" name="GetZagmshDataResult">
     <s:complexType mixed="true">
          <s:sequence>
             <s:any/>
        </s:sequence>
     </s:complexType>
        </s:element>
     </s:sequence>
  </s:complexType>
</s:element>
in the Tag <any> I will recieve a full structure. for example:
<Table>
  <DateID>3044</DateID>
  <DateValue>2008-05-01T00:00:00+03:00</DateValue>
  <OriginalEmployeeId>10000416</OriginalEmployeeId>
  <OriginalReportDate>2008-05-01T00:00:00+03:00</OriginalReportDate>
  <OriginalImportTime>2008-05-02T04:12:08.687+03:00</OriginalImportTime>
  <OriginalDayType>5</OriginalDayType>
</Table>
<Table1>
<employName>kfir</employName>
<employLastName>gold</employLastName>
</Table1>
my Q is how can I map the inner data in the XML that I will recieve for this kind of WSDL so I will be able to recieve all the tables (could be multiple tables)?
Thanks
Kfir

Refer these links for XSLT mapping:
Step – By – Step Simple Approach for XSLT Mapping
File to Multiple IDocs (XSLT Mapping)
Regards,
Geetha.

Similar Messages

  • Include xml schema in the WSDL of the web service

    Hi,
    I have a bpel process where I want to call several web service, so therefore the web services should reference the same xsd schema. I use JDeveloper and Oracle PM 10.1.3.3.0.
    I have a problem with including the schema in the wsdl of the web service, and I receive an error at deploying the web service.
    For including the schema I tried, things like:
    <types>
    <xsd:include schemaLocation="\C:/genschema.xsd"/>
    </types>
    Error compiling :C:\orabpel\bpel\system\appserver\oc4j\j2ee\home\applications\BuecherApp-LagerService-WS\WebServices: Error instantiating compiler: Web service artifact generation failed:oracle.j2ee.ws.common.tools.api.WsdlValidationException: model error: element "{http://lagerservice/types/}pruefeBuecherAufLagerElement" not found.
    or
    <types>
    <schema xmlns="http://www.w3.org/2001/XMLSchema">
         <import namespace="http://lagerservice/types/"
    schemaLocation="genschema.xsd" />
         </schema>
    </types>
    Error instantiating compiler: Web service artifact generation failed:java.lang.InstantiationException: IO Error parsing imports in C:\orabpel\bpel\system\appserver\oc4j\j2ee\home\application-deployments\BuecherApp-LagerService-WS\WebServices\server-wsdl\LagerService.wsdl : Unable to find/read file WEB-INF/wsdl/genschema.xsd
    the file is in the required directory WEB-INF/wsdl, and also the current directory.
    Can anyone help please?
    Ela

    ... and here is the solution:
    <types>
    <schema xmlns="http://www.w3.org/2001/XMLSchema">
         <import namespace="http://lagerservice/" schemaLocation="file:///c:/genschema.xsd" />
         </schema>
    </types>

  • Can not open the WSDL in a Deployed web service

    I finished a JAXRPC based web service, packaged a war file and then using WSDEPLOY to produce a new war file. The new war file was deployed to Sun APP Server and everything seemed to be fine. But when I tried to open the url, the page displayed many question marks (not encoding problem, I tried many encodings but no change). The following is a copy from the browser (originally in a table, becomes mess here)
    Web ??
    MetSoapEndpoint ???
    ??? http://localhost:8080/MyWS/mysoap/MyWSEndpoint
    WSDL? http://localhost:8080/MyWS/mysoap/MyWSEndpoint?WSDL
    ?? QName? {http://www.agmodel.org/Schema/MyWS/2006/02/MyWSEndpoint}MyWSEndpointPort
    ????? net.agmodel.myws.mysoap.jaxrpc.MyWSEndpoint
    ???? net.agmodel.myws.mysoap.MyWSEndpoint_Impl
    ??? http://localhost:8080/MyWS/mysoap/MyWSEndpoint???
    And I tried to open the WSDL by clicking on the above WSDL address, but get the following error message:
    XML Parsing Error: no element found
    Location: http://localhost:8080/MyWS/mysoap/MyWSEndpoint?WSDL
    Line Number 1, Column 39:<?xml version="1.0" encoding="UTF-8"?>
    I also tried to deploy the service to JBOSS 4.0.4, got exactly the same result.
    Anyone can help me?
    Thanks a lot.
    xinwen

    Nobody answered...
    May bcoz it was on AXIS2.... no issues guys..here is the solution
    Webservice technology is also based on Servlet based techology only
    so in AXIS2 webservice class, implement org.apache.axis2.engine.ServiceLifeCycle interface. You'll get 2 methods here -
    void startUp(ConfigurationContext arg0, AxisService arg1) and
    void shutDown(ConfigurationContext arg0, AxisService arg1)
    these are nothing but init() and destroy() of the servlet.
    Inside these methods u can get servlet context parameters by getAttribute(string) and initial parameters of the servlet by getInitParameter(string)
    Edited by: Neo2001 on Feb 18, 2008 2:31 PM

  • Error during generation of the WSDL:  BUILD FAILED java.lang.NoClassDefFoundError: com/sun/javadoc/Type

    When I create an EJB Transport Business Service, after selecting the jar that has the EJB 2.1 artefacts (Remote, Home, etc) the oepe plugin fails and can't continue.
    As I understand it seems that there is a problem with the classpath of ant build.xml  that oepe creates inside folder /tmp/alsbejbtransport/ to compile the bs and generate the wsdl. I checked if tools.jar is in the classpath (in eclipse) and is included, so I can't figure out wich is the problem.
    I found this in Oracle, but not helps solve the problem:
    BEA-398120
    Error: The WSDL for the typed transport endpoint could not be accessed.
    Description
    There was a problem retrieving the WSDL from the typed transport service endpoint at the time of service registration
    Action
    Contact technical support
    This is the the full stacktrace that shows eclipse.
    Generate : Error during generation of the WSDL:
    BUILD FAILED
    java.lang.NoClassDefFoundError: com/sun/javadoc/Type
            at com.bea.util.jam.provider.JamServiceFactoryImpl.createSourceBuilder(JamServiceFactoryImpl.java:205)
            at com.bea.util.jam.provider.JamServiceFactoryImpl.createBuilder(JamServiceFactoryImpl.java:158)
            at com.bea.util.jam.provider.JamServiceFactoryImpl.createClassLoader(JamServiceFactoryImpl.java:137)
            at com.bea.util.jam.provider.JamServiceFactoryImpl.createService(JamServiceFactoryImpl.java:78)
            at weblogic.wsee.util.JamUtil.parseSource(JamUtil.java:152)
            at weblogic.wsee.tools.anttasks.JwsLoader.loadJClasses(JwsLoader.java:186)
            at weblogic.wsee.tools.anttasks.JwsLoader.load(JwsLoader.java:75)
            at weblogic.wsee.tools.anttasks.JwsModule.loadWebServices(JwsModule.java:569)
            at weblogic.wsee.tools.anttasks.JwsModule.generate(JwsModule.java:369)
            at weblogic.wsee.tools.anttasks.JwsModule.build(JwsModule.java:256)
            at weblogic.wsee.tools.anttasks.JwscTask.execute(JwscTask.java:184)
            at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
            at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            at java.lang.reflect.Method.invoke(Method.java:601)
            at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
            at org.apache.tools.ant.Task.perform(Task.java:348)
            at org.apache.tools.ant.Target.execute(Target.java:357)
            at org.apache.tools.ant.Target.performTasks(Target.java:385)
            at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
            at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
            at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
            at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
            at org.apache.tools.ant.Main.runBuild(Main.java:758)
            at org.apache.tools.ant.Main.startAnt(Main.java:217)
            at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
            at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
    Caused by: java.lang.ClassNotFoundException: com.sun.javadoc.Type
            at org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1400)
            at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1341)
            at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1088)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
            ... 27 more
    Total time: 0 seconds
    Eclipse Installation details:
    *** System properties:
    eclipse.application=org.eclipse.ui.ide.workbench
    eclipse.buildId=M20110909-1335
    eclipse.commands=-os
    linux
    -ws
    gtk
    -arch
    x86_64
    -showsplash
    -launcher
    {home}/Development/oepe-indigo/eclipse
    -name
    Eclipse
    --launcher.library
    {home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.100.v20110505/eclipse_1407.so
    -startup
    {home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
    --launcher.overrideVmargs
    -exitdata
    1e418010
    -vm
    /usr/bin/java
    eclipse.home.location=file:{home}/Development/oepe-indigo/
    eclipse.launcher={home}/Development/oepe-indigo/eclipse
    eclipse.launcher.name=Eclipse
    [email protected]/../p2/
    eclipse.p2.profile=PlatformProfile
    eclipse.product=org.eclipse.platform.ide
    eclipse.startTime=1374623921455
    eclipse.vm=/usr/bin/java
    eclipse.vmargs=-Xms256m
    -Xmx768m
    -XX:MaxPermSize=512m
    -Dsun.lang.ClassLoader.allowArraySyntax=true
    -Dweblogic.home={home}/Oracle/Middleware/wlserver_10.3
    -Dharvester.home={home}/Oracle/Middleware/Oracle_OSB1/harvester
    -Dosb.home={home}/Oracle/Middleware/Oracle_OSB1
    -Dosgi.bundlefile.limit=750
    -Dosgi.nl=en_US
    -Dmiddleware.home={home}/Oracle/Middleware
    -jar
    {home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
    equinox.use.ds=true
    file.encoding=UTF-8
    file.encoding.pkg=sun.io
    file.separator=/
    guice.disable.misplaced.annotation.check=true
    harvester.home={home}/Oracle/Middleware/Oracle_OSB1/harvester
    http.nonProxyHosts=localhost
    java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
    java.awt.printerjob=sun.print.PSPrinterJob
    java.class.path={home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
    java.class.version=50.0
    java.endorsed.dirs=/usr/lib/jvm/jdk1.6.0_45/jre/lib/endorsed
    java.ext.dirs=/usr/lib/jvm/jdk1.6.0_45/jre/lib/ext:/usr/java/packages/lib/ext
    java.home=/usr/lib/jvm/jdk1.6.0_45/jre
    java.io.tmpdir=/tmp
    java.library.path=/usr/lib/jvm/jdk1.6.0_45/jre/lib/amd64/server:/usr/lib/jvm/jdk1.6.0_45/jre/lib/amd64:/usr/lib/jvm/jdk1.6.0_45/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
    java.protocol.handler.pkgs=null|com.bea.wli.sb.resources.url|com.bea.wli.sb.resources.jca.upgrade.url|weblogic.utils|weblogic.utils|weblogic.utils|weblogic.net|weblogic.net
    java.runtime.name=Java(TM) SE Runtime Environment
    java.runtime.version=1.6.0_45-b06
    java.specification.name=Java Platform API Specification
    java.specification.vendor=Sun Microsystems Inc.
    java.specification.version=1.6
    java.vendor=Sun Microsystems Inc.
    java.vendor.url=http://java.sun.com/
    java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi
    java.version=1.6.0_45
    java.vm.info=mixed mode
    java.vm.name=Java HotSpot(TM) 64-Bit Server VM
    java.vm.specification.name=Java Virtual Machine Specification
    java.vm.specification.vendor=Sun Microsystems Inc.
    java.vm.specification.version=1.0
    java.vm.vendor=Sun Microsystems Inc.
    java.vm.version=20.45-b01
    javax.rmi.CORBA.PortableRemoteObjectClass=weblogic.iiop.PortableRemoteObjectDelegateImpl
    javax.rmi.CORBA.UtilClass=weblogic.iiop.UtilDelegateImpl
    jna.platform.library.path=/usr/lib/x86_64-linux-gnu:/lib/x86_64-linux-gnu:/lib64:/usr/lib:/lib
    line.separator=
    middleware.home={home}/Oracle/Middleware
    oracle.eclipse.tools.weblogic.ui.isWebLogicServer=true
    org.apache.commons.logging.Log=org.apache.commons.logging.impl.NoOpLog
    org.eclipse.equinox.launcher.splash.location={home}/Development/oepe-indigo/plugins/org.eclipse.platform_3.7.1.v201109091335/splash.bmp
    org.eclipse.equinox.simpleconfigurator.configUrl=file:org.eclipse.equinox.simpleconfigurator/bundles.info
    org.eclipse.m2e.log.dir={home}/workspace/pragma/.metadata/.plugins/org.eclipse.m2e.logback.configuration
    org.eclipse.update.reconcile=false
    org.omg.CORBA.ORBClass=weblogic.corba.orb.ORB
    org.omg.CORBA.ORBSingletonClass=weblogic.corba.orb.ORB
    org.osgi.framework.executionenvironment=OSGi/Minimum-1.0,OSGi/Minimum-1.1,OSGi/Minimum-1.2,JRE-1.1,J2SE-1.2,J2SE-1.3,J2SE-1.4,J2SE-1.5,JavaSE-1.6
    org.osgi.framework.language=en
    org.osgi.framework.os.name=Linux
    org.osgi.framework.os.version=3.8.0
    org.osgi.framework.processor=x86-64
    org.osgi.framework.system.capabilities=osgi.ee; osgi.ee="OSGi/Minimum"; version:List<Version>="1.0, 1.1, 1.2",osgi.ee; osgi.ee="JavaSE"; version:List<Version>="1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6"
    org.osgi.framework.system.packages=javax.accessibility,javax.activation,javax.activity,javax.annotation,javax.annotation.processing,javax.crypto,javax.crypto.interfaces,javax.crypto.spec,javax.imageio,javax.imageio.event,javax.imageio.metadata,javax.imageio.plugins.bmp,javax.imageio.plugins.jpeg,javax.imageio.spi,javax.imageio.stream,javax.jws,javax.jws.soap,javax.lang.model,javax.lang.model.element,javax.lang.model.type,javax.lang.model.util,javax.management,javax.management.loading,javax.management.modelmbean,javax.management.monitor,javax.management.openmbean,javax.management.relation,javax.management.remote,javax.management.remote.rmi,javax.management.timer,javax.naming,javax.naming.directory,javax.naming.event,javax.naming.ldap,javax.naming.spi,javax.net,javax.net.ssl,javax.print,javax.print.attribute,javax.print.attribute.standard,javax.print.event,javax.rmi,javax.rmi.CORBA,javax.rmi.ssl,javax.script,javax.security.auth,javax.security.auth.callback,javax.security.auth.kerberos,javax.security.auth.login,javax.security.auth.spi,javax.security.auth.x500,javax.security.cert,javax.security.sasl,javax.sound.midi,javax.sound.midi.spi,javax.sound.sampled,javax.sound.sampled.spi,javax.sql,javax.sql.rowset,javax.sql.rowset.serial,javax.sql.rowset.spi,javax.swing,javax.swing.border,javax.swing.colorchooser,javax.swing.event,javax.swing.filechooser,javax.swing.plaf,javax.swing.plaf.basic,javax.swing.plaf.metal,javax.swing.plaf.multi,javax.swing.plaf.synth,javax.swing.table,javax.swing.text,javax.swing.text.html,javax.swing.text.html.parser,javax.swing.text.rtf,javax.swing.tree,javax.swing.undo,javax.tools,javax.transaction,javax.transaction.xa,javax.xml,javax.xml.bind,javax.xml.bind.annotation,javax.xml.bind.annotation.adapters,javax.xml.bind.attachment,javax.xml.bind.helpers,javax.xml.bind.util,javax.xml.crypto,javax.xml.crypto.dom,javax.xml.crypto.dsig,javax.xml.crypto.dsig.dom,javax.xml.crypto.dsig.keyinfo,javax.xml.crypto.dsig.spec,javax.xml.datatype,javax.xml.namespace,javax.xml.parsers,javax.xml.soap,javax.xml.stream,javax.xml.stream.events,javax.xml.stream.util,javax.xml.transform,javax.xml.transform.dom,javax.xml.transform.sax,javax.xml.transform.stax,javax.xml.transform.stream,javax.xml.validation,javax.xml.ws,javax.xml.ws.handler,javax.xml.ws.handler.soap,javax.xml.ws.http,javax.xml.ws.soap,javax.xml.ws.spi,javax.xml.ws.wsaddressing,javax.xml.xpath,org.ietf.jgss,org.omg.CORBA,org.omg.CORBA_2_3,org.omg.CORBA_2_3.portable,org.omg.CORBA.DynAnyPackage,org.omg.CORBA.ORBPackage,org.omg.CORBA.portable,org.omg.CORBA.TypeCodePackage,org.omg.CosNaming,org.omg.CosNaming.NamingContextExtPackage,org.omg.CosNaming.NamingContextPackage,org.omg.Dynamic,org.omg.DynamicAny,org.omg.DynamicAny.DynAnyFactoryPackage,org.omg.DynamicAny.DynAnyPackage,org.omg.IOP,org.omg.IOP.CodecFactoryPackage,org.omg.IOP.CodecPackage,org.omg.Messaging,org.omg.PortableInterceptor,org.omg.PortableInterceptor.ORBInitInfoPackage,org.omg.PortableServer,org.omg.PortableServer.CurrentPackage,org.omg.PortableServer.POAManagerPackage,org.omg.PortableServer.POAPackage,org.omg.PortableServer.portable,org.omg.PortableServer.ServantLocatorPackage,org.omg.SendingContext,org.omg.stub.java.rmi,org.w3c.dom,org.w3c.dom.bootstrap,org.w3c.dom.css,org.w3c.dom.events,org.w3c.dom.html,org.w3c.dom.ls,org.w3c.dom.ranges,org.w3c.dom.stylesheets,org.w3c.dom.traversal,org.w3c.dom.views,org.w3c.dom.xpath,org.xml.sax,org.xml.sax.ext,org.xml.sax.helpers
    org.osgi.framework.uuid=901615cd-f3f3-0012-11b6-a3bca4d97ac1
    org.osgi.framework.vendor=Eclipse
    org.osgi.framework.version=1.6.0
    org.osgi.supports.framework.extension=true
    org.osgi.supports.framework.fragment=true
    org.osgi.supports.framework.requirebundle=true
    os.arch=amd64
    os.name=Linux
    os.version=3.8.0-26-generic
    osb.home={home}/Oracle/Middleware/Oracle_OSB1
    osgi.arch=x86_64
    osgi.bundlefile.limit=750
    osgi.bundles=reference:file:javax.transaction_1.1.1.v201105210645.jar,reference:file:org.eclipse.equinox.simpleconfigurator_1.0.200.v20110502-1955.jar@1:start
    osgi.bundles.defaultStartLevel=4
    osgi.bundlestore={home}/Development/oepe-indigo/configuration/org.eclipse.osgi/bundles
    osgi.configuration.area=file:{home}/Development/oepe-indigo/configuration/
    osgi.framework=file:{home}/Development/oepe-indigo/plugins/org.eclipse.osgi_3.7.1.R37x_v20110808-1106.jar
    osgi.framework.extensions=reference:file:javax.transaction_1.1.1.v201105210645.jar
    osgi.framework.shape=jar
    osgi.framework.version=3.7.1.R37x_v20110808-1106
    osgi.frameworkClassPath=., file:{home}/Development/oepe-indigo/plugins/javax.transaction_1.1.1.v201105210645.jar
    osgi.install.area=file:{home}/Development/oepe-indigo/
    osgi.instance.area=file:{home}/workspace/pragma/
    osgi.instance.area.default=file:{home}/workspace/
    osgi.logfile={home}/workspace/pragma/.metadata/.log
    osgi.manifest.cache={home}/Development/oepe-indigo/configuration/org.eclipse.osgi/manifests
    osgi.nl=en_US
    osgi.nl.user=en_US
    osgi.os=linux
    osgi.splashLocation={home}/Development/oepe-indigo/plugins/org.eclipse.platform_3.7.1.v201109091335/splash.bmp
    osgi.splashPath=platform:/base/plugins/org.eclipse.platform
    osgi.syspath={home}/Development/oepe-indigo/plugins
    osgi.tracefile={home}/workspace/pragma/.metadata/trace.log
    osgi.ws=gtk
    path.separator=:
    securerandom.source=file:/dev/./urandom
    socksNonProxyHost=localhost
    sun.arch.data.model=64
    sun.boot.class.path=/usr/lib/jvm/jdk1.6.0_45/jre/lib/resources.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/rt.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/sunrsasign.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/jsse.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/jce.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/charsets.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/modules/jdk.boot.jar:/usr/lib/jvm/jdk1.6.0_45/jre/classes
    sun.boot.library.path=/usr/lib/jvm/jdk1.6.0_45/jre/lib/amd64
    sun.cpu.endian=little
    sun.cpu.isalist=
    sun.desktop=gnome
    sun.io.unicode.encoding=UnicodeLittle
    sun.java.command={home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar -os linux -ws gtk -arch x86_64 -showsplash -launcher {home}/Development/oepe-indigo/eclipse -name Eclipse --launcher.library {home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.100.v20110505/eclipse_1407.so -startup {home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar --launcher.overrideVmargs -exitdata 1e418010 -vm /usr/bin/java -vmargs -Xms256m -Xmx768m -XX:MaxPermSize=512m -Dsun.lang.ClassLoader.allowArraySyntax=true -Dweblogic.home={home}/Oracle/Middleware/wlserver_10.3 -Dharvester.home={home}/Oracle/Middleware/Oracle_OSB1/harvester -Dosb.home={home}/Oracle/Middleware/Oracle_OSB1 -Dosgi.bundlefile.limit=750 -Dosgi.nl=en_US -Dmiddleware.home={home}/Oracle/Middleware -jar {home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
    sun.java.launcher=SUN_STANDARD
    sun.jnu.encoding=UTF-8
    sun.lang.ClassLoader.allowArraySyntax=true
    sun.management.compiler=HotSpot 64-Bit Tiered Compilers
    sun.os.patch.level=unknown
    svnkit.http.methods=Basic
    svnkit.library.gnome-keyring.enabled=false
    user.country=AR
    user.dir={home}/Development/oepe-indigo
    user.home={home}
    user.language=es
    user.name={username}
    user.timezone=America/Argentina/Buenos_Aires
    weblogic.home={home}/Oracle/Middleware/wlserver_10.3
    Thanks!!

    run this one in command prompt and then convert the applet using converter tool
    JC_HOME = C:\java_card_kit-2_2_2\bin\
    set CLASSES=%JCHOME%\lib\apduio.jar;%JC_HOME%\lib\apdutool.jar;%JC_HOME%\lib\jcwde.jar;%JC_HOME%\lib\converter.jar;%JC_HOME%\lib\scriptgen.jar;%JC_HOME%\lib\offcardverifier.jar;%JC_HOME%\lib\api.jar;%JC_HOME%\lib\installer.jar;%JC_HOME%\lib\capdump.jar;
    D:\NareshPalle\jcardRE\Smart\src>java -classpath %_CLASSES% com.sun.javacard.con
    verter.Converter -out EXP JCA CAP -exportpath .\exp -applet 0x0a:0x00:0x00:0x00:0x0e:0x01:0x02:
    0x03:0x04:0x05:0x06 PackageName appletName 0x01:0x02:0x03:0x04:0x05:0x0
    6:0x07:0x08 1.0
    or
    go to following directory and run the converter tool in command prompt
    step 1: cd C:\java_card_kit-2_2_2\bin\
    then run this command under the above directory
    step 2:converter -classdir E:\Pathof Your applet class file -out EXP JCA CAP -exportpath E:\path of exp files folder -applet AID PackageName AppletName PackAID major.minor no
    For more doubts mail me....
    *[removed by moderator]*
    Thanks and Regards
    NareshPalle
    Edited by: EJP on 31/03/2012 20:09: removed your email address. Unless you like spam and unless you think these forums are provided for your personal benefit only, posting an email address here serves no useful purpose whatsoever.

  • Unable to load wsdl. if currently online please verify the uri and or format of the wsdl

    Hi,
    i have one aspx page in which i have embeded an swf object,
    which calls webservice to load data,
    it works fine on localhost,
    but when uploaded it gives the error no 2032 stream error ,
    i added the crossdomain.xml in the root project then that error was gone and found the following error,
    "unable to load wsdl. if currently online please verify the uri and or format of the wsdl"
    Can anybody help me with this?
    Any elp or suggestion will be appriciated.
    Thank You.
    Bhavika

    I had the same error message and I believe I added the -use-network=true to the additional compiler arguments to fix the problem.  The default value for this should be true.
    Sorry if this doesn't help...It's just a guess.

  • How to Customize the WSDL file in Weblogic

    Hello All
    I am trying to make a web service deployed inside weblogic to be accessible through a loadbalancer that use HTTPS protocol.
    The wsdl file url is accessible through the load balancer via https and all works fine expect the schemalocation attributes within the wsdl
    <types>
      <xsd:schema>
      <xsd:import namespace="http://interfaces.package.com/" schemaLocation="http://domainname:80/I2SS-Interface-context-root/InterfacePort?xsd=1"/>
      </xsd:schema>
    </types>
    I don't know which element is generating the wsdl (weblogic or JAXWS SOAPBinding) . But I need that the schema location attributes contains https url and using the port 443.
    Please can you help me to customize this file.
    Thanks

    change your web-inf directory name to WEB-INF. This should fix your problem.
              Kumar.
              Alex wrote:
              > I write a jap and a web.xml files and also pack these files into a war file.
              > When I use the console to deploy the war, the console think the war is a
              > application, not web application.
              > I attach the test.war.
              >
              > Name: test.war
              > test.war Type: unspecified type (application/octet-stream)
              > Encoding: x-uuencode
              

  • Error while Loading the WSDL

    Hi,
    Getting error while loading the WSDL in Browser.Mentioned below is the link which trying to load.
    http://10.162.32.113/DNBDAASEXCMDL4/AdapterProductService?wsdl
    The XML page cannot be displayed
    Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
    A string literal was not closed. Error processing resource 'http://10.162.32.113/DNBDAASEXCMDL4/AdapterProductService?wsdl'...
    <xs:element name="POST_CODE" type="a
    Please can any one help on this.

    That's no problem with the wsdl, it's the browser that's not able to show the xml, try on firefox or try using "show page source"...

  • Invoking a web service with the WSDL URL given at run time

    I have created a very Simple Web Service using Netbeans 6.0 as an EJB Module. I have successfully created clients to access the web service, both through a Composite Application and through a simple Java Desktop Application, using the create "New Web Service Client" option, either by pointing to the EJB project either by providing the WSDL URL.
    What I want now, is for the Java Desktop application to be able to consume the service after it has discovered the WSDL URL at runtime (e.g. through UDDI).
    From what I have been able to find on the web, I should use the javax.xml.ws.Service class. But when I attempt to use the getPort method I get the exception:
    "com.sun.xml.ws.model.RuntimeModelerException: runtime modeler error: Wrapper class mypackagename.jaxws.MyWebServiceName is not found. Have you run APT to generate them?"
    Since I know that this class is not needed for the Web Service to be accessed, when the two procedures I describe above are used, I wonder what I can do to get this to work.
    I have tried using apt from the command line but it can't find Java EE classes, so it doesn't work.
    Nikos

    Hi Yarecki,
    I'm afraid I'm also a newbie, and I'm feeling my way around things.
    I have written some code. However, you should be warned that... it doesn't work!
            String wsdlLocation;//=...some URL...
            String input;//=...XML...either SOAP message either SOAP payload
         try{
             java.net.URL wsdlURL = new java.net.URL(wsdlLocation);
                //these should be extracted from the service WSDL document
                java.lang.String serviceName = "CalculationServiceService";
                java.lang.String portName = "CalculationServicePort";
                String namespace = "http://localhost:8080/CalculationServiceService";
                javax.xml.transform.Source inputSource = new javax.xml.transform.stream.StreamSource(new java.io.StringReader(input));
                javax.xml.namespace.QName serviceQName = new javax.xml.namespace.QName(namespace, serviceName);
                javax.xml.namespace.QName portQName = new javax.xml.namespace.QName(namespace, portName);
                javax.xml.ws.Service service = javax.xml.ws.Service.create(wsdlURL, serviceQName);           
                javax.xml.ws.Dispatch<javax.xml.transform.Source> dispatch =
                      service.createDispatch(portQName, javax.xml.transform.Source.class, javax.xml.ws.Service.Mode.MESSAGE);
           //javax.xml.ws.Dispatch<javax.xml.transform.Source> dispatch =
               //service.createDispatch(portQName, javax.xml.transform.Source.class, javax.xml.ws.Service.Mode.PAYLOAD);
    //alternative method, with different input
                javax.xml.transform.Source replySource = dispatch.invoke(inputSource);
                javax.xml.bind.JAXBContext jc = javax.xml.bind.JAXBContext.newInstance(nikos.test.CalculationResult.class);
                javax.xml.bind.Unmarshaller unm = jc.createUnmarshaller();
                nikos.test.CalculationResult result = (nikos.test.CalculationResult)unm.unmarshal(replySource);
                System.out.println(result.getResult());
            } catch (JAXBException ex) {
                JOptionPane.showMessageDialog(this, ex);
                ex.printStackTrace();
            } catch (MalformedURLException ex) {
                ex.printStackTrace();//this should not happen.
            }In fact I'm getting a weird error
    javax.xml.ws.soap.SOAPFaultException: java.lang.NullPointerException
            at com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:187)
            at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:108)
            at com.sun.xml.ws.client.dispatch.DispatchImpl.doInvoke(DispatchImpl.java:187)
            at com.sun.xml.ws.client.dispatch.DispatchImpl.invoke(DispatchImpl.java:206)
         //lines from my source code are here
    Caused by: javax.xml.ws.WebServiceException: java.lang.NullPointerException
            at com.sun.enterprise.security.jmac.config.PipeHelper.makeFaultResponse(PipeHelper.java:328)
            at com.sun.enterprise.security.jmac.config.PipeHelper.getFaultResponse(PipeHelper.java:366)
            at com.sun.enterprise.webservice.CommonServerSecurityPipe.processRequest(CommonServerSecurityPipe.java:223)
            at com.sun.enterprise.webservice.CommonServerSecurityPipe.process(CommonServerSecurityPipe.java:129)
            at com.sun.xml.ws.api.pipe.helper.PipeAdapter.processRequest(PipeAdapter.java:115)
            at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:595)
            at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:554)
            at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:539)
            at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:436)
            at com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:243)
            at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:444)
            at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:244)
            at com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:135)
            at com.sun.enterprise.webservice.Ejb3MessageDispatcher.handlePost(Ejb3MessageDispatcher.java:113)
            at com.sun.enterprise.webservice.Ejb3MessageDispatcher.invoke(Ejb3MessageDispatcher.java:87)
            at com.sun.enterprise.webservice.EjbWebServiceServlet.dispatchToEjbEndpoint(EjbWebServiceServlet.java:200)
            at com.sun.enterprise.webservice.EjbWebServiceServlet.service(EjbWebServiceServlet.java:129)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
            at com.sun.enterprise.web.AdHocContextValve.invoke(AdHocContextValve.java:114)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
            at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:87)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:206)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:150)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
            at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:270)
            at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:637)
            at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:568)
            at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:813)
            at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:339)
            at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:261)
            at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:212)
            at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
            at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
    Caused by: java.lang.NullPointerException
            at com.sun.xml.ws.tx.service.TxServerPipe.process(TxServerPipe.java:163)
            at com.sun.enterprise.webservice.CommonServerSecurityPipe.processRequest(CommonServerSecurityPipe.java:218)
            ... 39 moreAs I've said before I've called this web service successfully using three different methods.
    It appears it has something to do with security issues, but I've no security at all...

  • ProviderException No service defined in the WSDL

    I use WebLogic 10.3.4 with JDeveloper 11g Release 1 and the current Oracle SOA Suite 11g.
    I can deploy a simple composite with a BPEL service. However, If I use my complex BPEL composite, I always get the following stack trace on deployment (it validates perfectly within the editor):
    <02.02.2011 10:38 Uhr MEZ> <Error> <oracle.integration.platform.blocks.deploy.se
    rvlet> <SOA-21537> <Fehlermeldung wird zur³ckgesendet: Fehler beim Deployment vo
    n Composite auf AdminServer: Deployment Failed: Service kann nicht registriert w
    erden...>
    INFO: SSLSocketFactoryManagerImpl.getKeystoreLocation Expected SOA Keystore loca
    tion: C:/dev/server/Ora11g/USER_P~1/domains/BASE_D~1/config/fmwconfig/default-ke
    ystore.jks
    INFO: SSLSocketFactoryManagerImpl.getSSLSocketFactory Cannot locate the default
    or configured keystore at C:/dev/server/Ora11g/USER_P~1/domains/BASE_D~1/config/
    fmwconfig/default-keystore.jks. However, the keystore and related parameters are
    used for composite-related SSL communications and not required if SSL communica
    tion is not used.
    <02.02.2011 10:39 Uhr MEZ> <Error> <oracle.integration.platform> <SOA-20003> <Se
    rvice kann nicht registriert werden.
    oracle.webservices.provider.ProviderException: oracle.webservices.provider.Provi
    derException: No service {http://lspi.wiai.uniba.de/prototype/wsdl/collaboration
    /SimpleUseCase/role-1/transaction/bta-1-bt-example/master/client/1-0}ToMonitorin
    g defined in the WSDL
    at oracle.j2ee.ws.server.provider.ProviderConfigImpl.addService(Provider
    ConfigImpl.java:455)
    at oracle.j2ee.ws.server.provider.ProviderConfigImpl.addService(Provider
    ConfigImpl.java:285)
    at oracle.integration.platform.blocks.soap.FabricProviderConfig.addServi
    ce(FabricProviderConfig.java:115)
    at oracle.integration.platform.blocks.soap.FabricProviderConfig.addServi
    ce(FabricProviderConfig.java:204)
    at oracle.integration.platform.blocks.soap.WebServiceEntryBindingCompone
    nt.load(WebServiceEntryBindingComponent.java:171)
    at oracle.integration.platform.blocks.soap.WebServiceEntryBindingCompone
    nt.load(WebServiceEntryBindingComponent.java:98)
    at oracle.integration.platform.blocks.deploy.CompositeDeploymentConnecti
    on.deployServices(CompositeDeploymentConnection.java:160)
    at oracle.integration.platform.blocks.deploy.CompositeDeploymentConnecti
    on.deploy(CompositeDeploymentConnection.java:91)
    at oracle.integration.platform.blocks.deploy.CompositeDeploymentManagerI
    mpl.initDeployment(CompositeDeploymentManagerImpl.java:149)
    at oracle.integration.platform.blocks.deploy.CompositeDeploymentManagerI
    mpl.load(CompositeDeploymentManagerImpl.java:62)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflecti
    on(AopUtils.java:307)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJo
    inpoint(ReflectiveMethodInvocation.java:182)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
    ReflectiveMethodInvocation.java:149)
    at oracle.integration.platform.blocks.deploy.DeploymentEventPublisher.in
    voke(DeploymentEventPublisher.java:69)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
    ReflectiveMethodInvocation.java:171)
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynami
    cAopProxy.java:204)
    at $Proxy307.load(Unknown Source)
    at oracle.integration.platform.blocks.deploy.StandaloneCompositeDeployme
    ntCoordinatorImpl.coordinateCompositeDeployment(StandaloneCompositeDeploymentCoo
    rdinatorImpl.java:33)
    at oracle.integration.platform.blocks.deploy.servlet.BaseDeployProcessor
    .deployNewComposite(BaseDeployProcessor.java:367)
    at oracle.integration.platform.blocks.deploy.servlet.BaseDeployProcessor
    .deploySARs(BaseDeployProcessor.java:219)
    at oracle.integration.platform.blocks.deploy.servlet.DeployProcessor.doD
    eployWork(DeployProcessor.java:160)
    at oracle.integration.platform.blocks.deploy.servlet.DeployProcessor.doD
    eployWork(DeployProcessor.java:109)
    at oracle.integration.platform.blocks.deploy.servlet.DeployProcessor.doD
    eploy(DeployProcessor.java:96)
    at oracle.integration.platform.blocks.deploy.servlet.DeployProcessor.pro
    cess(DeployProcessor.java:78)
    at oracle.integration.platform.blocks.deploy.servlet.CompositeDeployerSe
    rvlet.doPostInsideLoggingSession(CompositeDeployerServlet.java:191)
    at oracle.integration.platform.blocks.deploy.servlet.CompositeDeployerSe
    rvlet.doPost(CompositeDeployerServlet.java:114)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run
    (StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecuri
    tyHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.jav
    a:300)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:56)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:31
    3)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUt
    il.java:413)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.jav
    a:94)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:1
    61)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:56)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:31
    3)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUt
    il.java:413)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.jav
    a:94)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:1
    61)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:56)
    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:13
    6)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
    n.wrapRun(WebAppServletContext.java:3715)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
    n.run(WebAppServletContext.java:3681)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
    dSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
    120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppS
    ervletContext.java:2277)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletC
    ontext.java:2183)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.j
    ava:1454)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
    Caused By: oracle.webservices.provider.ProviderException: No service {http://lsp
    i.wiai.uniba.de/prototype/wsdl/collaboration/SimpleUseCase/role-1/transaction/bt
    a-1-bt-example/master/client/1-0}ToMonitoring defined in the WSDL
    at oracle.j2ee.ws.server.provider.ProviderConfigImpl.getServiceName(Prov
    iderConfigImpl.java:624)
    at oracle.j2ee.ws.server.provider.ProviderConfigImpl.addService(Provider
    ConfigImpl.java:346)
    at oracle.j2ee.ws.server.provider.ProviderConfigImpl.addService(Provider
    ConfigImpl.java:285)
    at oracle.integration.platform.blocks.soap.FabricProviderConfig.addServi
    ce(FabricProviderConfig.java:115)
    at oracle.integration.platform.blocks.soap.FabricProviderConfig.addServi
    ce(FabricProviderConfig.java:204)
    at oracle.integration.platform.blocks.soap.WebServiceEntryBindingCompone
    nt.load(WebServiceEntryBindingComponent.java:171)
    at oracle.integration.platform.blocks.soap.WebServiceEntryBindingCompone
    nt.load(WebServiceEntryBindingComponent.java:98)
    at oracle.integration.platform.blocks.deploy.CompositeDeploymentConnecti
    on.deployServices(CompositeDeploymentConnection.java:160)
    at oracle.integration.platform.blocks.deploy.CompositeDeploymentConnecti
    on.deploy(CompositeDeploymentConnection.java:91)
    at oracle.integration.platform.blocks.deploy.CompositeDeploymentManagerI
    mpl.initDeployment(CompositeDeploymentManagerImpl.java:149)
    at oracle.integration.platform.blocks.deploy.CompositeDeploymentManagerI
    mpl.load(CompositeDeploymentManagerImpl.java:62)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflecti
    on(AopUtils.java:307)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJo
    inpoint(ReflectiveMethodInvocation.java:182)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
    ReflectiveMethodInvocation.java:149)
    at oracle.integration.platform.blocks.deploy.DeploymentEventPublisher.in
    voke(DeploymentEventPublisher.java:69)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
    ReflectiveMethodInvocation.java:171)
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynami
    cAopProxy.java:204)
    at $Proxy307.load(Unknown Source)
    at oracle.integration.platform.blocks.deploy.StandaloneCompositeDeployme
    ntCoordinatorImpl.coordinateCompositeDeployment(StandaloneCompositeDeploymentCoo
    rdinatorImpl.java:33)
    at oracle.integration.platform.blocks.deploy.servlet.BaseDeployProcessor
    .deployNewComposite(BaseDeployProcessor.java:367)
    at oracle.integration.platform.blocks.deploy.servlet.BaseDeployProcessor
    .deploySARs(BaseDeployProcessor.java:219)
    at oracle.integration.platform.blocks.deploy.servlet.DeployProcessor.doD
    eployWork(DeployProcessor.java:160)
    at oracle.integration.platform.blocks.deploy.servlet.DeployProcessor.doD
    eployWork(DeployProcessor.java:109)
    at oracle.integration.platform.blocks.deploy.servlet.DeployProcessor.doD
    eploy(DeployProcessor.java:96)
    at oracle.integration.platform.blocks.deploy.servlet.DeployProcessor.pro
    cess(DeployProcessor.java:78)
    at oracle.integration.platform.blocks.deploy.servlet.CompositeDeployerSe
    rvlet.doPostInsideLoggingSession(CompositeDeployerServlet.java:191)
    at oracle.integration.platform.blocks.deploy.servlet.CompositeDeployerSe
    rvlet.doPost(CompositeDeployerServlet.java:114)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run
    (StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecuri
    tyHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.jav
    a:300)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:56)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:31
    3)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUt
    il.java:413)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.jav
    a:94)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:1
    61)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:56)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:31
    3)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUt
    il.java:413)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.jav
    a:94)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:1
    61)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:56)
    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:13
    6)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
    n.wrapRun(WebAppServletContext.java:3715)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
    n.run(WebAppServletContext.java:3681)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
    dSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
    120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppS
    ervletContext.java:2277)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletC
    ontext.java:2183)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.j
    ava:1454)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
    >
    <02.02.2011 10:39 Uhr MEZ> <Error> <ServletContext-/soa-infra> <BEA-000000> <Err
    or during deployment
    oracle.fabric.common.FabricException: Deployment Failed: Service kann nicht regi
    striert werden.
    at oracle.integration.platform.blocks.deploy.StandaloneCompositeDeployme
    ntCoordinatorImpl.coordinateCompositeDeployment(StandaloneCompositeDeploymentCoo
    rdinatorImpl.java:38)
    at oracle.integration.platform.blocks.deploy.servlet.BaseDeployProcessor
    .deployNewComposite(BaseDeployProcessor.java:367)
    at oracle.integration.platform.blocks.deploy.servlet.BaseDeployProcessor
    .deploySARs(BaseDeployProcessor.java:219)
    at oracle.integration.platform.blocks.deploy.servlet.DeployProcessor.doD
    eployWork(DeployProcessor.java:160)
    at oracle.integration.platform.blocks.deploy.servlet.DeployProcessor.doD
    eployWork(DeployProcessor.java:109)
    Truncated. see log file for complete stacktrace
    Caused By: oracle.fabric.common.FabricDeploymentException: Service kann nicht re
    gistriert werden. {rootCauses=[]}
    at oracle.integration.platform.blocks.soap.WebServiceEntryBindingCompone
    nt.load(WebServiceEntryBindingComponent.java:227)
    at oracle.integration.platform.blocks.soap.WebServiceEntryBindingCompone
    nt.load(WebServiceEntryBindingComponent.java:98)
    at oracle.integration.platform.blocks.deploy.CompositeDeploymentConnecti
    on.deployServices(CompositeDeploymentConnection.java:160)
    at oracle.integration.platform.blocks.deploy.CompositeDeploymentConnecti
    on.deploy(CompositeDeploymentConnection.java:91)
    at oracle.integration.platform.blocks.deploy.CompositeDeploymentManagerI
    mpl.initDeployment(CompositeDeploymentManagerImpl.java:149)
    Truncated. see log file for complete stacktrace
    >
    <02.02.2011 10:39 Uhr MEZ> <Error> <oracle.integration.platform.blocks.deploy.se
    rvlet> <SOA-21537> <Fehlermeldung wird zur³ckgesendet: Fehler beim Deployment vo
    n Composite auf AdminServer: Deployment Failed: Service kann nicht registriert w
    erden...>
    h1. Essentials parts of the Component.xml
    <reference name="SimpleUseCaserole1bta1btexampleMonitoring" ui:wsdlLocation="wsdl/SimpleUseCaserole1bta1btexampleMonitoring.wsdl">
    <interface.wsdl interface="http://lspi.wiai.uniba.de/prototype/wsdl/collaboration/SimpleUseCase/role-1/transaction/bta-1-bt-example/monitoring/1-0#wsdl.interface(SimpleUseCaserole1bta1btexampleMonitoringPortType)" />
    <binding.ws port="http://lspi.wiai.uniba.de/prototype/wsdl/collaboration/SimpleUseCase/role-1/transaction/bta-1-bt-example/monitoring/1-0#wsdl.endpoint(SimpleUseCaserole1bta1btexampleMonitoringService/SimpleUseCaserole1bta1btexampleMonitoringPort)" soapVersion="1.1"/>
    </reference>
    h1. Essential parts of the componentType
              <reference name="ToMonitoring" ui:wsdlLocation="wsdl/SimpleUseCaserole1bta1btexampleMonitoring.wsdl">
                   <interface.wsdl interface="http://lspi.wiai.uniba.de/prototype/wsdl/collaboration/SimpleUseCase/role-1/transaction/bta-1-bt-example/monitoring/1-0#wsdl.interface(SimpleUseCaserole1bta1btexampleMonitoringPortType)"/>
              </reference>     
    h1. the WSDL file
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions
         xmlns="http://schemas.xmlsoap.org/wsdl/"
         name="SimpleUseCaserole1bta1btexampleMonitoringService"
         xmlns:tns="http://lspi.wiai.uniba.de/prototype/wsdl/collaboration/SimpleUseCase/role-1/transaction/bta-1-bt-example/monitoring/1-0"
         targetNamespace="http://lspi.wiai.uniba.de/prototype/wsdl/collaboration/SimpleUseCase/role-1/transaction/bta-1-bt-example/monitoring/1-0"
         xmlns:event="http://lspi.wiai.uniba.de/prototype/xsd/event/1-0"
         xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
         xmlns:vprop="http://docs.oasis-open.org/wsbpel/2.0/varprop"
         xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype"
         xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
         xmlns:xsd="http://www.w3.org/2001/XMLSchema"
         xmlns:header="http://lspi.wiai.uniba.de/prototype/xsd/header/1-0"
         >
    <types>
    <xsd:schema targetNamespace="http://lspi.wiai.uniba.de/prototype/wsdl/collaboration/SimpleUseCase/role-1/transaction/bta-1-bt-example/monitoring/1-0">
                   <xsd:import namespace="http://lspi.wiai.uniba.de/prototype/xsd/event/1-0" schemaLocation="xsd/Event.xsd"/>           
    </xsd:schema>
    </types>
    <message name="EventMessage">
    <part name="EventPart" element="event:Event"/>
    </message>
    <portType name="SimpleUseCaserole1bta1btexampleMonitoringPortType">
    <operation name="EventOperation">
    <input name="input1" message="tns:EventMessage"/>
    </operation>
    </portType>
    <binding name="SimpleUseCaserole1bta1btexampleMonitoringBinding" type="tns:SimpleUseCaserole1bta1btexampleMonitoringPortType">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="EventOperation">
    <soap:operation/>
    <input name="input1">
    <soap:body use="literal"/>
    </input>
    </operation>
    </binding>
    <service name="SimpleUseCaserole1bta1btexampleMonitoringService">
    <port name="SimpleUseCaserole1bta1btexampleMonitoringPort" binding="tns:SimpleUseCaserole1bta1btexampleMonitoringBinding">
    <soap:address location="http://localhost:8091/ode/processes/SimpleUseCaserole1bta1btexampleMonitoringService"/>
    </port>
    </service>
         <plnk:partnerLinkType name="SimpleUseCaserole1bta1btexampleMonitoring">
         <plnk:role name="SimpleUseCaserole1bta1btexampleMonitoringPortTypeRole" portType="tns:SimpleUseCaserole1bta1btexampleMonitoringPortType"/>
         </plnk:partnerLinkType>
    </definitions>
    Edited by: user2595377 on 02.02.2011 01:46

    there is a text table defined for FAGL_SEGM. Start SE11, display the table and menu: GoTo => text table

  • What's wrong with the wsdl

    We are trying to create a proxy from the following wsdl file and getting an error message: illegal syntax: API:Parameter BINDING has initial value
    The webservice that we are trying to consume is from TIBCO .
    Can someone please help me to find out what's wrong with the wsdl.
    <?xml version = "1.0" encoding = "UTF-8"?>
    <!--Created by TIBCO WSDL-->
    <wsdl:definitions name = "Untitled" targetNamespace = "http://xmlns.example.com/1268018884234/OperationImpl" xmlns:soap = "http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns = "http://xmlns.example.com/1268018884234/OperationImpl" xmlns:wsdl = "http://schemas.xmlsoap.org/wsdl/" xmlns:xs = "http://www.w3.org/2001/XMLSchema">
         <wsdl:types/>
         <wsdl:service name = "TIBCO__ABAP">
              <wsdl:port binding = "tns:SOAPEventSourceBinding" name = "SOAPEventSource">
                   <soap:address location = "http://192.168.9.58:10001/TIBCO_ABAP"/>
              </wsdl:port>
         </wsdl:service>
         <wsdl:portType name = "PortType">
              <wsdl:operation name = "Operation">
                   <wsdl:input message = "tns:Input"/>
                   <wsdl:output message = "tns:Output"/>
              </wsdl:operation>
         </wsdl:portType>
         <wsdl:binding name = "SOAPEventSourceBinding" type = "tns:PortType">
              <soap:binding style = "document" transport = "http://schemas.xmlsoap.org/soap/http"/>
              <wsdl:operation name = "Operation">
                   <soap:operation soapAction = "http://192.168.9.58:10001/TIBCO_ABAP" style = "document"/>
                   <wsdl:input>
            <soap:body use="literal" />
          </wsdl:input>
                   <wsdl:output>
            <soap:body use="literal" />
                   </wsdl:output>
              </wsdl:operation>
         </wsdl:binding>
         <wsdl:message name = "Input">
              <wsdl:part name = "Param1" type = "xs:int"/>
              <wsdl:part name = "Param2" type = "xs:int"/>
         </wsdl:message>
         <wsdl:message name = "Output">
              <wsdl:part name = "Result" type = "xs:int"/>
         </wsdl:message>
    </wsdl:definitions>

    Léon Hoeneveld's response works for me.  You will need to download a tool that allows you to edit the WSDL and reorder the values. 
    I've used a freeware tool like notepad++  collapsed all the levels and opened up the <wsdl:definitions xmlns:wsdl... segment and reordered the subgroups beneath it accordingly.
    1. types
    2. message
    3. portType
    4. binding
    5. service
    Thanks again Léon!

  • Possible Bug?  autotype + wsdl2service generates implementation that does not conform to the WSDL

    Hey folks,
    I've got some hand crafted, valid, WS-I compliant WSDL + imported XSD that I've
    been using for awhile now to generate an Apache Axis 1.2 beta Document Literal
    Web Service implementation. I'm now trying to use the same WSDL to generate a
    BEA WL 8.1 SP2 Document Literal Web Service implementation and I'm running into
    problems.
    I've attached the WSDL, XSD, and build script that I'm using to generate the implementation.
    It deploys fine, but notice that the autogenerated WSDL that is returned from
    the deployed BEA Web Service contains two <xs:schema> sections: one for the imported
    WSDL (as expected) and one for several new elements that seem to get substituted
    for the elements used in the orignal WSDL message parts.
    The results of this are two fold:
    1) the autogenerated WSDL appears to be invalid when loaded into both XMLSpy and
    SOAPscope
    2) the SOAP requests to invoke the operations on the service do not conform to
    the hand crafted original WSDL. I've attached examples of both a BEA generated
    SOAP request and an EXPECTED SOAP request.
    I've poured over both the types.xml and the web-services.xml, and I'll be damned
    if I can see the problem. I'm wondering if the way I import schemas and reference
    elements declared therein is somehow not supported by BEA's ant tasks?
    Any advice or pointers at all would be appreciated.
    Regards,
    -Jonathan Anderson
    Booz Allen Hamilton
    [BankService2.zip]

    I don't know if you already now this but if you are using <autotype> to generate
    the types.xml from the XML Schema then you should first
    1) autotype the imported schema first.
    2) Then for the actual achema (that uses the imported xsd) <autotype> but with
    the
    typeMappingFile="importedSchemas/types.xml"
    option set to the types.xml output from 1)
    The types.xml will then contain all types from both Schemas. You can then pass
    this final types.xml from 2) to <source2wsdd> via
    typesInfo="types.xml"
    Any help ?
    Pete
    "Jonathan Anderson" <[email protected]> wrote:
    >
    Definitely seems as if BEA monitors these newsgroups. Lot's of developers
    talking
    to themselves, it seems.
    <sigh>
    "Jonathan Anderson" <[email protected]> wrote:
    Hey folks,
    I've got some hand crafted, valid, WS-I compliant WSDL + imported XSD
    that I've
    been using for awhile now to generate an Apache Axis 1.2 beta Document
    Literal
    Web Service implementation. I'm now trying to use the same WSDL togenerate
    a
    BEA WL 8.1 SP2 Document Literal Web Service implementation and I'm running
    into
    problems.
    I've attached the WSDL, XSD, and build script that I'm using to generate
    the implementation.
    It deploys fine, but notice that the autogenerated WSDL that is returned
    from
    the deployed BEA Web Service contains two <xs:schema> sections: onefor
    the imported
    WSDL (as expected) and one for several new elements that seem to get
    substituted
    for the elements used in the orignal WSDL message parts.
    The results of this are two fold:
    1) the autogenerated WSDL appears to be invalid when loaded into both
    XMLSpy and
    SOAPscope
    2) the SOAP requests to invoke the operations on the service do notconform
    to
    the hand crafted original WSDL. I've attached examples of both a BEA
    generated
    SOAP request and an EXPECTED SOAP request.
    I've poured over both the types.xml and the web-services.xml, and I'll
    be damned
    if I can see the problem. I'm wondering if the way I import schemas
    and reference
    elements declared therein is somehow not supported by BEA's ant tasks?
    Any advice or pointers at all would be appreciated.
    Regards,
    -Jonathan Anderson
    Booz Allen Hamilton

  • Using Schema-defined Types to represent an XML Document in WSDL??

    I've read through a few documents on the web about creating web service methods that take XML as a parameter. Currently our web service defines that XML as a string type.
    However, I've been working on trying to define them as Schema types so that my Java or .Net service will create objects for the various XML types. I've run my WSDL through .Net and it seems to generate my DataSet, Record, and Field types just fine. However, I can't get wscompile to generate the interface and objects in the same way. Currently it creates the method that takes a SOAPElement type. Not an object of type DataSet. Below is the interface I'm seeing generated:
    // This class was generated by the JAXRPC SI, do not edit.
    // Contents subject to change without notice.
    // JAX-RPC Standard Implementation (1.1.2_01, build R40)
    // Generated source version: 1.1.2
    package com.webservice.client.java;
    public interface IQServiceIF extends java.rmi.Remote {
    public com.webservice.client.java.RunTransactionDataflowWithXmlDataResponse runTransactionDataflowWithXmlData(javax.xml.soap.SOAPElement parameters) throws
    java.rmi.RemoteException;
    The following is my Ant task for wscompile:
    <target name="generate-client-stubs" description="Generate Client-Side Stubs" unless="build_web_service_stubs">
    <taskdef name="wscompile" classname="com.sun.xml.rpc.tools.ant.Wscompile"/>
    <wscompile
    gen="true"
    base="build/classes"
    classpath="src"
    verbose="true"
    features="wsi"
    config="config/config.xml"
    sourceBase="build/src">
    </wscompile>
    </target>
    Below is the WSDL file I've created. I'm using the WSDL-To-Java methodology to create this service.
    I've been struggling with tihs for some time now and can't seem to get it to work. I'm not seeing anything different than what I'm seeing in your sample articles at this point.
    Thanks much!
    Ryan
    <?xml version="1.0" encoding="UTF-8"?><definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://test.com/wsdl" xmlns:ns2="http://test.com/types" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" name="IQService" targetNamespace="http://test.com/wsdl">
    <types>
    <schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://firstlogic.com/types" xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://test.com/types">
    <complexType name="FieldType" mixed="true">
              <attribute name="name" type="string" use="required"/>
    </complexType>
    <complexType name="RecordType" mixed="true">
              <sequence maxOccurs="unbounded">
                   <element name="Field" type="tns:FieldType"/>
              </sequence>
         </complexType>
    <complexType name="DataSetType">
              <sequence maxOccurs="unbounded">
                   <element name="Record" type="tns:RecordType"/>
              </sequence>
    </complexType>
    <complexType name="runTransactionDataflowWithXmlDataResponse">
    <sequence>
    <element name="runTransactionDataflowWithXmlDataResult" type="string" nillable="true"/></sequence></complexType>
    <element name="DataSet" type="tns:DataSetType"/>
    <element name="runTransactionDataflowWithXmlDataResponse" type="tns:runTransactionDataflowWithXmlDataResponse"/>
    </schema></types>
    <message name="IQServiceIF_runTransactionDataflowWithXmlData">
    <part name="parameters" element="ns2:DataSet"/></message>
    <message name="IQServiceIF_runTransactionDataflowWithXmlDataResponse">
    <part name="result" element="ns2:runTransactionDataflowWithXmlDataResponse"/></message>
    <portType name="IQServiceIF">
    <operation name="runTransactionDataflowWithXmlData">
    <input message="tns:IQServiceIF_runTransactionDataflowWithXmlData"/>
    <output message="tns:IQServiceIF_runTransactionDataflowWithXmlDataResponse"/></operation>
    </portType>
    <binding name="IQServiceIFBinding" type="tns:IQServiceIF">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
    <operation name="runTransactionDataflowWithXmlData">
    <soap:operation soapAction=""/>
    <input>
    <soap:body use="literal"/></input>
    <output>
    <soap:body use="literal"/></output></operation>
    </binding>
    <service name="IQService">
    <port name="IQServiceIFPort" binding="tns:IQServiceIFBinding">
    <soap:address location="http://localhost:8085/IQService/IQService" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"/></port></service></definitions>

    i assume by the lack of response this cannot be done then :(

  • Nested structure to flat structure in the PI mapping

    Dear friends,
    I've a issue regarding message mapping within PI 7.0
    This is how my source structure looks like:
    <?xml version="1.0" encoding="UTF-8"?>
    <stop>
       <stopreference/>
       <action>
          <actionreference>1</actionreference>
          <shipment>
             <shipmentreference>11</shipmentreference>
             <goods>
                <goodsreference>111</goodsreference>
             </goods>
             <goods>
                <goodsreference>111</goodsreference>
             </goods>
          </shipment>
       </action>
       <action>
          <actionreference>2</actionreference>
          <shipment>
             <shipmentreference>22</shipmentreference>
             <goods>
                <goodsreference>222</goodsreference>
             </goods>
          </shipment>
       </action>
    </stop>
    The target structure looks like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <Test>
       <STOPDETAILS>
          <item>
             <EXTERNAL_STOP/>
             <EXTERNAL_ACTION/>
             <EXTERNAL_SHIP/>
              <EXTERNAL_GOOD/>
            </item>
       </STOPDETAILS>
    </Test>
    In the source message the stop is the header and within a stop there can be 0 or more actions, within action there can be 0 or more shipments and within a shipment there can be 0 or more goods...
    My target message is a flat XML structure...
    The customer wants to see an Item target structure for every goods, the shipment, the action and the stop. If the there are no goods, they wants just to see the shipment, the action and the stop...and so on...
    So its look like this:
    stop 1 - action 1 - shipment 1 - good 1
    stop 1 - action 1 - shipment 1 - good 2
    stop 1 - action 1 - shipment 2 - good 1
    stop 1 - action 1 - shipment 2 - good 2
    stop 1 - action 2 - shipment 1 - good 1
    stop 1 - action 2 - shipment 1 - good 2
    And so on...
    I've to solve this issue in the Graphical Mapping...
    Do you have a suggestion how to do that?
    Kind regards,
    Kamran

    <?xml version="1.0" encoding="UTF-8"?>
       <STOPDETAILS>
          <ITEM>
             <MANDT/>
             <EXTERNAL_STOP>0010000020_0006</EXTERNAL_STOP>
             <ADRNZ>0026858089</ADRNZ>
             <TIMESTAMP>20090721121900 </TIMESTAMP>
             <TIMESTAMPSTART>20090721121600 </TIMESTAMPSTART>
             <TIMESTAMPSTOP>20090721121700 </TIMESTAMPSTOP>
             <ID_STOP>40</ID_STOP>
             <DESCR_STOP>Done</DESCR_STOP>
             <EXTERNAL_ACTION>0080004483</EXTERNAL_ACTION>
             <TIMESTAMP_ACTION>20090721121900 </TIMESTAMP_ACTION>
             <ID_ACTION>30</ID_ACTION>
             <DESCR_ACTION>Partly Done</DESCR_ACTION>
             <EXTERNAL_SHIP/>
             <ID_SHIPM/>
             <DESC_SHIPTYPE/>
             <EXTERNAL_GOOD/>
             <ID_GOOD/>
             <DESCR_GOOD/>
          </ITEM>
          <ITEM>
             <MANDT/>
             <EXTERNAL_STOP>0010000020_0006</EXTERNAL_STOP>
             <ADRNZ>0026858089</ADRNZ>
             <TIMESTAMP>20090721121900 </TIMESTAMP>
             <TIMESTAMPSTART>20090721121600 </TIMESTAMPSTART>
             <TIMESTAMPSTOP>20090721121700 </TIMESTAMPSTOP>
             <ID_STOP>40</ID_STOP>
             <DESCR_STOP>Done</DESCR_STOP>
             <EXTERNAL_ACTION>0080004484</EXTERNAL_ACTION>
             <TIMESTAMP_ACTION>20090721121900 </TIMESTAMP_ACTION>
             <ID_ACTION>deelbewerking</ID_ACTION>
             <DESCR_ACTION>Done</DESCR_ACTION>
             <EXTERNAL_SHIP>0080004484</EXTERNAL_SHIP>
             <ID_SHIPM>20</ID_SHIPM>
             <DESC_SHIPTYPE>Planned</DESC_SHIPTYPE>
             <EXTERNAL_GOOD>0080004484_0001</EXTERNAL_GOOD>
             <ID_GOOD>40</ID_GOOD>
             <DESCR_GOOD/>
          </ITEM>
          <ITEM>
             <MANDT/>
             <EXTERNAL_STOP>0010000020_0006</EXTERNAL_STOP>
             <ADRNZ>0026858089</ADRNZ>
             <TIMESTAMP>20090721121900 </TIMESTAMP>
             <TIMESTAMPSTART>20090721121600 </TIMESTAMPSTART>
             <TIMESTAMPSTOP>20090721121700 </TIMESTAMPSTOP>
             <ID_STOP>40</ID_STOP>
             <DESCR_STOP>Done</DESCR_STOP>
             <EXTERNAL_ACTION>0080004484</EXTERNAL_ACTION>
             <TIMESTAMP_ACTION>20090721121900 </TIMESTAMP_ACTION>
             <ID_ACTION>40</ID_ACTION>
             <DESCR_ACTION>Done</DESCR_ACTION>
             <EXTERNAL_SHIP>0080004484</EXTERNAL_SHIP>
             <ID_SHIPM>20</ID_SHIPM>
             <DESC_SHIPTYPE>Planned</DESC_SHIPTYPE>
             <EXTERNAL_GOOD>0080004484_0002</EXTERNAL_GOOD>
             <ID_GOOD>40</ID_GOOD>
             <DESCR_GOOD/>
          </ITEM>
       </STOPDETAILS>

  • Mapping flat xml file to xml Structure

    Hi all,
    i have to map an xml file, wich is incoming via a RFC call in a flat import field, to a xml-Structure. The xml Structure has the same Structure except that it is not flat but even as a xml-Structure in the Repository. Ist ther a way to make a 1:1 - Mapping?
    Regards Mathias

    Hi,
    This can be done very easily using Java Mapping.
    Parse the flat xml String using Dom4j and directly set this as the target structure.
    eg code:
    public void execute(InputStream in, OutputStream out) throws StreamTransformationException{
    String flatXml = "the flat xml string";
    Document doc = DocumentHelper.parseText(flatXml) ;
    out.write(doc.asXML().getBytes());
    Regards,
    P.Venkat

  • Message Mapping from flat XML to a Record structure

    Hi All,
    We have a scenario in which the input message is a PDF document. we are following below the blog to convert PDF to XML format which uses <b>PDF box utitlity</b>.
    /people/sap.user72/blog/2005/07/31/xi-read-data-from-pdf-file-in-sender-adapter
    We are able to convert the PDF doc to a flat XML file.
    Now we have the following queries...
    what are the different ways to map the flat XML to our record structure?
    Do we have any utitlity in PDF box to do that?
    Regards,
    Rakesh.

    Hi Rakesh,
    You have Graphical mapping, Java mapping, ABAP mapping and XSLT mapping. The choice depends on the scenario and what target result you require.
    <b>Message mapping using graphical mapping editor:</b>
    http://help.sap.com/saphelp_nw04/helpdata/en/49/1ebc6111ea2f45a9946c702b685299/frameset.htm
    <b>XSLT mapping:</b>
    http://help.sap.com/saphelp_nw04/helpdata/en/73/f61eea1741453eb8f794e150067930/frameset.htm
    <b>Java Mapping:</b>
    http://help.sap.com/saphelp_nw04/helpdata/en/e2/e13fcd80fe47768df001a558ed10b6/frameset.htm
    <b>ABAP mapping:</b>
    http://help.sap.com/saphelp_nw04/helpdata/en/ba/e18b1a0fc14f1faf884ae50cece51b/frameset.htm
    As said earlier, graphical mapping is the simplest and quite a few built in options are available with it, explore it and see which is suitable for your scenario.
    Regards,
    Chandra

Maybe you are looking for