WSDL deserialization failed!
Hi,
I'm trying to consume a webservice provided by an AS Java Server on an application running on my server, also AS Java. While executing my application, i got an error explained mainly by:
Caused by: com.sap.engine.services.webservices.espbase.query.exceptions.TechnicalException: Deserializing xml stream http://<host>:<port>/bpem/testsapcom2Fglx2Ftutorial2Fpm22FPool2FPurchaseProcessContinuation1258a3ef18c4b6a9bec22e5a9cb4abef?wsdl&mode=ws_policy failed.com.sap.engine.services.webservices.espbase.wsdl.exceptions.WSDLException: Read timed out
In fact, when i'm entering the url in my browser, i could read the WSDL without problem.
Could someone help me on that, and tell me where is the error and what to do to fix that. Thanks a lot.
Best Regards,
Jean NKENG
I found the solution Tamara. In fact, when i changed the computer full name by the IP in the WSDL url, (if i understood) it seems like the WS host corresponding to the IP i entered was acting like a proxy or something like that, trying to reach another computer, this is why the connection timed out, and because it is the host, it normally doesn't need to reach another computer or server.
The solution is to keep the computer full name in the WSDL, but add the ip address corresponding to the computer full name in the hosts file of windows, located by default here:
Windows NT/2000/XP/2003/Vista: %SystemRoot%\system32\drivers\etc\hosts
Wiki page: http://en.wikipedia.org/wiki/Hosts_file.
Just add a line to the file:
<IP address> <Computer Full Name> (Separated by tabulation)
Cheers,
Jean
Similar Messages
-
Hi to all
i have create a simpl .NET application in C# that call a web services in SAP. The call are in the next code:
MDM_SAP.Bapiret2[] myRet = new NBMI.MDM_SAP.Bapiret2[2];
myWS.Zmdm00AllCreUpd(CAP, CDC, CodDecreto, Divisione, Email, Fax, Frazione, IdSede, Indirizzo,
Lingua, Localita, MacroArea, Nome, Note, NumCivico, Nazione, Provincia, Regione,
ChiaveRic1, ChiaveRic2, StatoSede, ref myRet, NumTel, TipoPV, TipoSede);
When i try to test this WS raise an exception with the next message: "Deserialization failed " .
Why? Where is my mistake?
Thank in advanceHi Enrico,
The deserialization error can be due to the following:
1. The web service WSDL or operation's signature has changed from what it was consumed in your client. You'll need to check this with the WSDL comparison and carry out the required steps.
2. There is underscore in the member variable names of the complex types used as the web service parameters. This problem is not clearly defined anywhere, but if you try to search in the [Web Dynpro for Java forum|Web Dynpro Java; you'll be able to find many threadsregarding the Deserialization error and solving it by removal of underscore.
Regards,
Alka. -
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. -
WSDL Validation Failed (Web Services)
I want to create a Web Service-Based Application in LabVIEW and I'm
trying to go through the steps in the tutorial
http://zone.ni.com/devzone/cda/tut/p/id/4728.
I tried the following web services, but I always get the same error.
http://coeservice.en.kku.ac.th:8080/TemperatureConvertor/TemperatureConvertorService?WSDL
http://www.ecubicle.net/iptocountry.asmx?wsdl
Error:
WSDL Validation Failed.
Validation failed. The URL is not formatted correctly and should be in the folowing form: http://localhost/test/good.asmx?WSDL
I defined a proxy server with authentication. Without doing, that I get another error:
Validation Failed.
Possible Reasons are:
1. The URL does not exist or the WSDL is bad.
2. Authentication is not correct.
3. Proxy information is not correct.
So it seems that the proxy information is ok. But the web service I want to access isn't located on the localhost - I want to access a service in the internet. Can somebody give me a hint? I already tried to change some settings of the LabVIEW webserver. But it didn't help anything.
David
Solved!
Go to Solution.In my browser I don't need to define a proxy (the proxy is detected automatically). But I still tried to define a proxy for the webservice - I got the informations from our IT department.
I attached 3 screenshots of the webservice wizard with the error message...
Attachments:
ImportWebService1.gif 19 KB
ImportWebService2.gif 22 KB
ImportWebService3.gif 6 KB -
Services under EBSConsole AIASystem ValidationSystem WSDL Parsing Failed
Hi all,
Below is my setup seteps:
1. Install SOA10.1.3.3 cluster accroding to "Application Server Enterprise Deployment Guide" (e10294)
2. Installing AIA Foundation Pack 2.1 on SOA Cluster according to Note 731120.1
When starting both nodes, some error message appear in soa_group~oc4j_soa~soa_group~1.log under <ORACLE_HOME>/opmn/logs as :
================================================================
09/03/18 11:16:14 Caused by: WSDL Parsing Failed: http://<LBR URL>/AIAValidationSystemServl
et/syncresponsesimulator?wsdl: java.io.FileNotFoundException: http://<LBR URL>/AIAValidatio
nSystemServlet/syncresponsesimulator?wsdl
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1172)
at java.net.URL.openStream(URL.java:1007)
at oracle.tip.esb.utils.WSDLUtil.parseWSDL(WSDLUtil.java:125)
at oracle.tip.esb.server.common.cache.WsdlCachePolicy.loadEntry(WsdlCachePolicy.java:48)
at oracle.tip.esb.server.common.cache.Cache.setEntry(Cache.java:306)
at oracle.tip.esb.server.common.cache.Cache.setEntry(Cache.java:270)
at oracle.tip.esb.server.common.cache.Cache.getEntry(Cache.java:208)
at oracle.tip.esb.server.common.cache.Cache.getEntry(Cache.java:181)
at oracle.tip.esb.server.common.cache.RuntimeCache.getWsdlDefinition(RuntimeCache.java:249)
at oracle.tip.esb.configuration.ServiceBusConstants.addService(ServiceBusConstants.java:674)
at oracle.tip.esb.configuration.ServiceBusConstants.createTestPagesForSystem(ServiceBusConstants.java
:626)
at oracle.tip.esb.configuration.ServiceBusConstants.prepareTestPages(ServiceBusConstants.java:591)
at oracle.tip.esb.server.service.impl.soap.EventOracleSoapProvider.init(EventOracleSoapProvider.java:
162)
at oracle.j2ee.ws.server.provider.ProviderProcessor.initProvider(ProviderProcessor.java:162)
at oracle.j2ee.ws.server.provider.ProviderProcessor.init(ProviderProcessor.java:126)
at oracle.j2ee.ws.server.provider.ProviderServlet.initializeProcessor(ProviderServlet.java:159)
at oracle.j2ee.ws.server.provider.ProviderServlet.init(ProviderServlet.java:128)
at javax.servlet.GenericServlet.init(GenericServlet.java:256)
at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.java:2371)
at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4824)
at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4748)
at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:4936)
at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1145)
at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:741)
at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:414)
at com.evermind.server.Application.getHttpApplication(Application.java:570)
at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReferen
ce(HttpSite.java:1987)
at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:1906)
at com.evermind.server.http.HttpSite.initApplications(HttpSite.java:643)
at com.evermind.server.http.HttpSite.setConfig(HttpSite.java:290)
at com.evermind.server.http.HttpServer.setSites(HttpServer.java:270)
at com.evermind.server.http.HttpServer.setConfig(HttpServer.java:177)
at com.evermind.server.ApplicationServer.initializeHttp(ApplicationServer.java:2493)
at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1042)
at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:131)
at java.lang.Thread.run(Thread.java:595)
09/03/18 11:16:14 at oracle.tip.esb.utils.WSDLUtil.parseWSDL(WSDLUtil.java:136)
09/03/18 11:16:14 at oracle.tip.esb.server.common.cache.WsdlCachePolicy.loadEntry(WsdlCachePolicy.java:
48)
09/03/18 11:16:14 ... 32 more
=================================================================
AIA experts can give some hints about this issue?
If you need more info please let me know.
Thanks and Regards,
Tim
Edited by: AGUI on Mar 17, 2009 10:07 PMI have reached the exact same error as this post http://scn.sap.com/thread/3190403
The error is
[Mon Jun 18 23:14:28 2012] [error] ..\..\src\core\deployment\conf_builder.c(876) Specifyingservices and modules directories using axis2.xml but path of the library directory is not present
[Mon Jun 18 23:14:28 2012] [error] ..\..\src\core\deployment\conf_builder.c(261) Processing transport senders failed, unable to continue
[Mon Jun 18 23:14:28 2012] [error] ..\..\src\core\deployment\dep_engine.c(939) Populating Axis2 Configuration failed
[Mon Jun 18 23:14:28 2012] [error] ..\..\src\core\deployment\conf_init.c(195) Loading deployment engine failed for client repository C:\Program Files (x86)\SAP BusinessObjects\Data Services\ext\webservice-c\axis2.xml
As it is identified as an version problem, this issue is not going to be investigated any further.
As an alternative, can try to use Oracle 11g SOAP_API.sql. -
Hello,
I am getting this error while trying to connect to a 10.1.3 BPEL wsdl from my application. The error, wsdl, and the client code are mentioned below.
Client Code
If fails at the bold line below ..
URL url = new URL(wsdl);
WebServiceProxyFactory factory = new WebServiceProxyFactory();
WebServiceProxy proxy = factory.createWebServiceProxy(url);
// get the Web Service Method from the Proxy
method = proxy.getMethod(methodName);
if ( method == null )
Logger.log( Logger.ERROR, "WsState: Cannot find method:"+methodName );
throw new Exception( "WsState: method not found" );
// Get params
NodeList nl = root.getElementsByTagName("param");
Error
oracle.j2ee.ws.client.WebServiceProxyException: WSDL parsing failed
0,801: Invalid reference document import namespace: http://xmlns.oracle.com/EdgeClientCallback.
at oracle.j2ee.ws.client.impl.DefaultWebServiceProxy.newInstanceFromService(DefaultWebServiceProxy.java:106)
at oracle.j2ee.ws.client.WebServiceProxyFactory.createWebServiceProxyFromService(WebServiceProxyFactory.java:175)
at oracle.j2ee.ws.client.WebServiceProxyFactory.createWebServiceProxy(WebServiceProxyFactory.java:148)
at oracle.edge.tools.eflow.impl.WsState.init(WsState.java:130)
at oracle.edge.tools.eflow.impl.WsState.<init>(WsState.java:103)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at oracle.edge.tools.eflow.EventFlow.loadXml(EventFlow.java:239)
at oracle.edge.tools.eflow.EventFlow.reload(EventFlow.java:79)
at oracle.edge.tools.eflow.EventFlow.<init>(EventFlow.java:74)
at oracle.edge.rt.EventDispatcher.initPersistence(EventDispatcher.java:127)
at oracle.edge.rt.EventProcessor.initOpMode(EventProcessor.java:121)
at oracle.edge.rt.EventProcessor.<init>(EventProcessor.java:49)
at oracle.edge.rt.EventProcessorContainer.init(EventProcessorContainer.java:106)
at oracle.edge.rt.EdgeMain.start(EdgeMain.java:127)
at oracle.edge.rt.EdgeServerServlet.init(EdgeServerServlet.java:59)
at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.java:2231)
at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4617)
at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4541)
at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:4730)
at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1019)
at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:649)
at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:428)
at com.evermind.server.Application.getHttpApplication(Application.java:512)
at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:1975)
at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:1894)
at com.evermind.server.http.HttpSite.initApplications(HttpSite.java:633)
at com.evermind.server.http.HttpSite.setConfig(HttpSite.java:302)
at com.evermind.server.http.HttpServer.setSites(HttpServer.java:273)
at com.evermind.server.http.HttpServer.setConfig(HttpServer.java:180)
at com.evermind.server.ApplicationServer.initializeHttp(ApplicationServer.java:2296)
at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:944)
at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:113)
at java.lang.Thread.run(Thread.java:595)
Fri Jan 05 14:27:41 PST 2007<<
WSDL
<definitions name="EdgeClientCallback" targetNamespace="http://xmlns.oracle.com/EdgeClientCallback">
−
<types>
−
<schema>
<import namespace="http://xmlns.oracle.com/EdgeClientCallback" schemaLocation="EdgeClientCallback.xsd"/>
</schema>
</types>
−
<message name="EdgeClientCallbackRequestMessage">
<part name="payload" element="tns:EdgeClientCallbackProcessRequest"/>
</message>
−
<message name="EdgeClientCallbackResponseMessage">
<part name="payload" element="tns:EdgeClientCallbackProcessResponse"/>
</message>
−
<portType name="EdgeClientCallback">
−
<operation name="process">
<input message="tns:EdgeClientCallbackRequestMessage"/>
<output message="tns:EdgeClientCallbackResponseMessage"/>
</operation>
</portType>
−
<binding name="EdgeClientCallbackBinding" type="tns:EdgeClientCallback">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
−
<operation name="process">
<soap:operation style="document" soapAction="process"/>
−
<input>
<soap:body use="literal"/>
</input>
−
<output>
<soap:body use="literal"/>
</output>
</operation>
</binding>
−
<service name="EdgeClientCallback">
−
<port name="EdgeClientCallbackPort" binding="tns:EdgeClientCallbackBinding">
<soap:address location="http://pdalmia-US.us.oracle.com:8888/orabpel/default/EdgeClientCallback/1.0"/>
</port>
</service>
−
<plnk:partnerLinkType name="EdgeClientCallback">
−
<plnk:role name="EdgeClientCallbackProvider">
<plnk:portType name="tns:EdgeClientCallback"/>
</plnk:role>
</plnk:partnerLinkType>
</definitions>Hi,
You may want to look at the samples provided on the Web Services Developer's Guide.
see "Examples of Web Service Clients that use DII".
As the WSDL does have a schema import, the issue may be in accessing the document "EdgeClientCallback.xsd" - you may want to verify that the expected schema can be found on the URL you are using for your WSDL, when you manually place the schema name on the right context root.
Hope it helps,
Eric -
WSDL validation failed, can't generate WS stub
I've searched this forum for this and could not find anything relevant.
I'm new to JDeveloper, and just installed 10.1.2. I have the Oracle Press book, "Oracle JDeveloper 10g handbook". In the book, chapter 14 contains a "Hands-on Practice" of creating an application that uses a web service. The example uses the Google Web APIs.
When I get to the step to generate a web service stub from the GoogleSearch.wsdl, JDeveloper produces the following error:
"WSDL validation failed with the following exception: The WSDL document is ill defined or incomplete and cannot be used to generate a stub."
I've also tried the google wsdl that is available at the URL, http://api.google.com/GoogleSearch.wsdl
It too yields the same error.
I'm going to proceed with other WSDL files and see what happens. If anyone has any info to share on this, I would appreciate it.
Thanks
MorganOk, I found the problem.
I was also getting a "can not find main class" error on startup. This thread
Could not find the main class. Program will fail
pointed out that you should not install JDeveloper into a folder with an embedded space. I had it subordinate to Program Files. So, I moved it from there and now it gets past the WSDL error when generating a stub from the WSDL.
Onward! -
WSDL validation failed. file not found
Hi all,
I've tried the web service but I get the error :-
WSDL validation failed with the following exception:
java.io.FileNotFoundException
http://otn.oracle.com/ws/deptemp?WSDL
URL=http://otn.oracle.com/ws/deptemp?WSDL
Can anyone tell me what's wrong ?Could it be the proxy setting or an authenticated proxy as noted in step 4 of the tutorial covering the use of this - see:
Re: ORA-00439: feature not enabled: Fine-grained access control
Mike. -
OSB WSDL Consumption failed.
Hi,
In OSB i tried to consume a WSDL by selecting the URI and giving the WSDL, but i got an error saying
Unable to Resolve URI "http://example:7001/test?wsdl".Comsumption failed.
please help me.
Thanks & Regards,
Pradeep.Hi,
I'm supposing you are able to retrieve the WSDL typing http://example:7001/test?wsdl on a browser...
If so, then do that and look at the page source and try to find import tags into your WSDL, those imports are probably the reason OSB can not consume your wsdl...
Cheers,
Vlad
It is considered good etiquette to reward answerers with points (as "helpful" - 5 pts - or "correct" - 10pts)
https://forums.oracle.com/forums/ann.jspa?annID=893 -
Deserialization Failed when testing BAPI exposed as a web service
Hello, I have created a webservice by expoing BAPI_EQMT_MODIFY. I am planning on using this service to add partner information to an equipment from a .Net UI. When I test the service from the web service home page, I get an error message: "Deserialization Failed". The SOAP response looks as follows:
HTTP/1.1 500 Internal Server Error
Set-Cookie: <value is hidden>
Set-Cookie: <value is hidden>
content-type: text/xml; charset=utf-8
content-length: 800
sap-srt_id: 20090303/162239/v1.00_final_6.40/DE08396C2AC45DF1AC700014C25948BD
server: SAP Web Application Server (1.0;700)
<soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"><soap-env:Body><soap-env:Fault><faultcode>soap-env:Client</faultcode><faultstring xml:lang="en">Deserialisation failed</faultstring><detail><n0:SimpleTransformationFault xmlns:n0="http://www.sap.com/transformation-templates"><MainName>/1BCDWB/WSSA04DD064E9E26505F40</MainName><ProgName>/1BCDWB/WSSA04DD064E9E26505F40</ProgName><Line>34 </Line><Valid>X</Valid><ReferenceFault><DescriptionText>Error accessing the ref. node '_EQUILOCATION'</DescriptionText><RefName>_EQUILOCATION</RefName></ReferenceFault><Caller><Class>CL_SRG_RFC_PROXY_CONTEXT</Class><Method>IF_SXML_PART~DECODE</Method><Positions>1 </Positions></Caller></n0:SimpleTransformationFault></detail></soap-env:Fault></soap-env:Body></soap-env:Envelope>
Please help resolving the issue. Also, if there is any other way of updating an equipment with partner information, please let me know.
Thank you very much in advanceHi,
have you checked OSS note 809901? It looks like your problem. If not have a look on service.sap.com there are some other OSS notes related to "Deserialization Failed".
Cheers -
I am trying to retrieve a list from coherence cache and when I try to test my cache I get the following exception
Exception in thread "main" (Wrapped) java.io.IOException: Deserialization failed, format CollectionFormat(public java.util.ArrayList())
at com.tangosol.util.ExternalizableHelper.fromBinary(ExternalizableHelper.java:266)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$ConverterFromBinary.convert(PartitionedCache.CDB:4)
at com.tangosol.util.ConverterCollections$ConverterMap.get(ConverterCollections.java:1655)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$ViewMap.get(PartitionedCache.CDB:1)
at com.tangosol.coherence.component.util.SafeNamedCache.get(SafeNamedCache.CDB:1)
at com.sesco.cohc.cohc_RegionalForecastedGen.getLatestDataForDataSource(cohc_RegionalForecastedGen.java:32)
at com.sesco.cohc.cohc_RegionalForecastedGen.main(cohc_RegionalForecastedGen.java:172)
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:597)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120)
Caused by: java.io.IOException: Deserialization failed, format CollectionFormat(public java.util.ArrayList())
at org.gridkit.coherence.utils.pof.ReflectionPofSerializer.internalDeserialize(ReflectionPofSerializer.java:105)
at org.gridkit.coherence.utils.pof.ReflectionPofSerializer.deserialize(ReflectionPofSerializer.java:92)
at com.tangosol.io.pof.PofBufferReader.readAsObject(PofBufferReader.java:3316)
at com.tangosol.io.pof.PofBufferReader.readObject(PofBufferReader.java:2604)
at com.tangosol.io.pof.ConfigurablePofContext.deserialize(ConfigurablePofContext.java:368)
at com.tangosol.util.ExternalizableHelper.deserializeInternal(ExternalizableHelper.java:2746)
at com.tangosol.util.ExternalizableHelper.fromBinary(ExternalizableHelper.java:262)
... 11 more
Caused by: java.io.IOException: Failed to deserialize java.util.ArrayList instance
at org.gridkit.coherence.utils.pof.ReflectionPofSerializer$CollectionSerializer.deserialize(ReflectionPofSerializer.java:317)
at org.gridkit.coherence.utils.pof.ReflectionPofSerializer.internalDeserialize(ReflectionPofSerializer.java:101)
... 17 more
Caused by: java.io.EOFException
at com.tangosol.io.AbstractByteArrayReadBuffer$ByteArrayBufferInput.readPackedInt(AbstractByteArrayReadBuffer.java:430)
at com.tangosol.io.pof.PofBufferReader$UserTypeReader.complete(PofBufferReader.java:3819)
at com.tangosol.io.pof.PofBufferReader.readCollection(PofBufferReader.java:2452)
at org.gridkit.coherence.utils.pof.ReflectionPofSerializer$CollectionSerializer.deserialize(ReflectionPofSerializer.java:306)
... 18 more
I am not sure why I am getting the error. Any help would be appreciatedYou were using the ReflectionPofSerializer coded by Alexey. If you are pretty sure that the object you retrieved was stored using the same serializer, might want to contact Alexey to see if he can help you out.
ReflectionPofSerializer - gridkit - ReflectionPofSerializer project page - A home for code misc usefull code related … -
NET proxy for FLIGHTBOOKING.CREATEFROMDAT fails "Deserialization failed"
Hi,
I am trying to call the FLIGHTBOOKING BAPI from a .NET program. FLIGHT.GETDETAIL works without a problem.
However FLIGHTBOOKING.CREATEFROMDAT fails with the error "Deserialization failed".
Any ideas?Regenerating the classes seemed to fix the problem.
-
Deptemp WSDL validation failed
I try to run the Web Services step-by-step with JDev 9.0.3, but get an error when trying to get at the deptemp WSDL at the OTN web-site: WDSL validation failed with the following exception:
java.net.ConnectException: Operation timed out: connect URL=http://otn.oracle.com/ws/deptemp?WSDL
What is the problem ?I am hoping you happened to catch it during a downtime. There is some backend work that made it unavailable last week and they are finalizing some changes that did not make it in with the new announcement on the homepage. I just tested it and it appears to be back up again. Sorry for the inconvenience.
Mike. -
WebService - Deserialization Fails
Hello!
When testing my Java Class based WebService with the web servie navigator, I get an error message:
"Deserializing fails. Nested message: XML Deserialization Error. Result class [myClass] does not have property [somePropertyName] of type [aTypeName]. It is required to load XML."
I found some hints pointing to Java as well as to SAP NetWeaver problems, but none of these shed any light on the problem. The class "myClass" does have a public property "somePropertyName" with type "aTypeName", the class does have an empty constructor without parameters, getter and setter methods are available for this property and there are no underscores anywhere around the whole webservice. Any hints ?Further , These are the complete requirements for complex type object---->
J2SE SDK Classes
JAX-RPC supports the following J2SE SDK classes:
java.lang.Boolean
java.lang.Byte
java.lang.Double
java.lang.Float
java.lang.Integer
java.lang.Long
java.lang.Short
java.lang.String
java.math.BigDecimal
java.math.BigInteger
java.net.URI
java.util.Calendar
java.util.Date
Primitives
JAX-RPC supports the following primitive types of the Java programming language:
boolean
byte
double
float
int
long
short
Arrays
JAX-RPC also supports arrays that have members of supported JAX-RPC types. Examples of supported arrays are int[] and String[]. Multidimensional arrays, such as BigDecimal[][], are also supported.
<b>Value Types
A value type is a class whose state can be passed between a client and a remote service as a method parameter or return value. For example, in an application for a university library, a client might call a remote procedure with a value type parameter named Book, a class that contains the fields Title, Author, and Publisher.
To be supported by JAX-RPC, a value type must conform to the following rules:
It must have a public default constructor.
It must not implement (either directly or indirectly) the java.rmi.Remote interface.
Its fields must be supported JAX-RPC types.
The value type can contain public, private, or protected fields. The field of a value type must meet these requirements:
A public field cannot be final or transient.
A nonpublic field must have corresponding getter and setter methods</b>
Hope this helps.
Regards,
Piyush -
URGENT: SAP throws the "Deserialization failed" error.
Hi All,
I am using ABAP generated WebService in .NET 1.1.
Steps i took:
1. Generate Web Service of a BAPI in ABAP and Test it there.
2. Take its URL and Added Web Reference in my PortalApplication in .NET 1.1
3. Deployed it successfully, but when i try to run the project i.e "Portal Application" it gives "Deserielization failed" Error.
its urgent Please Help!
Help will be highly appreciated.
Thanks in Advance
sachinDear Vinay,
Does your other FM are also using arrays.?
Deserialization problem comes when xml parser is not able to convert XML schema or values to language specific elements.
And this problem normally comes if you are using complex data types.
Can you check once again and reply.
Regards,
Piyush
Maybe you are looking for
-
Bios A6380VMS.370 or A6380VMS.374 ?
What is the difference ? I want to upgrade my K7T266 Pro (MS-6380) Thanks Hans
-
I'm trying to read barcode from some LTxx or LM (rf) transaction. That barcode has the EAN application identifyer 10 (batch) plus the batch number: (10)1234123412. I did setup in SPRO>Logist.Exec>Mobile data Entry>Barcode> Assign barcode types to WH,
-
PAPER JAMMED DURING MANUAL DUPLEX PRINTING
I had a paper jam, now, i only needed to print particular pages (booklet format here) but MS word crashes whenever i attempt to do so. i only need to print the last half of the booklet, please help. Thanks!
-
Hi every body. I have a problem. i want to add object in scene, but i want to add object when user pick other object. the PickBehavior i write this and it�s work and i can recognize the object have been selected. However i can not add other object. A
-
Tween fade animation with buttons
Hi, can anyone help me! I have four movie clips with instance names of "purple_ob", "green_ob", "orange_ob" and "blue_ob" and four buttons "purple_but", "green_but", "orange_but" and "blue_but" I want to have the movie clips automatically fade from o