WSDL definition with wsdl4J
Hello,
I develop a java code (wsdl4j code) to define a WSDL definition. My code must generate a WSDL definition in XML format.
All constructors work expect SOAP Elements in Binding (style, transport, ...) and in Port (address).
see my code here
import javax.wsdl.extensions.*;
import javax.wsdl.extensions.soap.*;
ExtensionRegistry extreg=null;
SOAPBinding soapBind=null;
SOAPOperation soapOp=null;
SOAPBody inputBody =null;
try { extreg=WSDLFactory.newInstance().newPopulatedExtensionRegistry();
soapBind = (SOAPBinding)extreg.createExtension(Binding.class, new QName("http://scheams.xmlsoap.org/wsdl/soap/", "binding"));
soapOp = (SOAPOperation)extreg.createExtension(BindingOperation.class, new QName("http://scheams.xmlsoap.org/wsdl/soap/", "operation"));
inputBody = (SOAPBody)extreg.createExtension(BindingInput.class, new QName("http://scheams.xmlsoap.org/wsdl/soap/", "body"));
} catch (WSDLException ex2) {
inputBody.setUse("literal");
inputBody.setNamespaceURI("");
inputBody.setRequired(vRequired.TRUE);
/* inputBody.setEncodingStyles(encodedStyleList.subList(0,0)); */
soapOp.setStyle("document");
soapOp.setSoapActionURI("");
soapOp.setRequired(vRequired.TRUE);
vBindOp.addExtensibilityElement(soapOp);
soapAd = (SOAPAddress)extreg.createExtension(Port.class, new QName("http://scheams.xmlsoap.org/wsdl/soap/", "address"));}
soapAd.setLocationURI(lhost+tCWS.image+".wsdl");
soapAd.setRequired(vRequired.TRUE);
vPort.addExtensibilityElement(soapAd); } catch (Exception Ex10) {}
...........Same one can help me.
best regard
demba
Hi Mark,
seems that this was an issue with our PI.
Following "have you generated ... properly" I generated the WSDL again and now...
however this happended different now....
the operation area is included in the WSDL.
So this is a part generated automatically in SAP PI and not dependend on the xsd files,
an important learning!
Thank you!
By the way, we reimported the WSDL in the Repository as an external definition and it worked!
Moreover, this is helpful as the WSDL is displayed here structured. The generated WSDL file itself will be displayed as one single line only in XML editor. From the reimport you can generate a structured WSDL copying it manually into an editor and save it there again!
Best regards
Dirk
Similar Messages
-
Hi,
The software's I used are:
1. Oracle Database (Oracle Database 11g Release 2 (11.2.0.1.0))
2. Repository Creation Utility (ofm_rcu_win32_11.1.1.2.1_disk1_1of1)
3. WebLogic (wls1033_oepe111150_win32)
4. WebCenter (ofm_wc_generic_11.1.1.2.0_disk1_1of1)
5. Content Management (ofm_ucm_generic_10.1.3.5.1_disk1_1of1)
When I try to run the Administration Server and the three Managed Servers (WLS_Portlet, WLS_Services and WLS_Spaces in Weblogic Server), it is throwing exception in WLS_Spaces and WLS_Portlet servers and completing to Running Mode.
Attaching the Log Details below for one of the server.
C:\Oracle\Middleware\user_projects\domains\base_domain\bin>startManagedWebLogic
.cmd WLS_Portlet http://dpdb:7001
JAVA Memory arguments: -Xms512m -Xmx1024m -XX:CompileThreshold=8000 -XX:PermSiz
e=128m -XX:MaxPermSize=256m
WLS Start Mode=Development
CLASSPATH=C:\Oracle\MIDDLE~1\patch_wls1033\profiles\default\sys_manifest_classp
ath\weblogic_patch.jar;C:\Oracle\MIDDLE~1\patch_oepe1033\profiles\default\sys_m
anifest_classpath\weblogic_patch.jar;C:\Oracle\MIDDLE~1\patch_ocp353\profiles\d
efault\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\MIDDLE~1\JDK160~1\li
b\tools.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic_sp.jar;C:\Oracle\
MIDDLE~1\WLSERV~1.3\server\lib\weblogic.jar;C:\Oracle\MIDDLE~1\modules\features
\weblogic.server.modules_10.3.3.0.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\
webservices.jar;C:\Oracle\MIDDLE~1\modules\ORGAPA~1.1/lib/ant-all.jar;C:\Oracle
\MIDDLE~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;C:\Oracle\MIDDLE~1\ORACLE~1\
soa\modules\commons-cli-1.1.jar;C:\Oracle\MIDDLE~1\ORACLE~1\soa\modules\oracle.
soa.mgmt_11.1.1\soa-infra-mgmt.jar;C:\Oracle\Middleware\Oracle_WC1\webcenter\mo
dules\oracle.portlet.server_11.1.1\oracle-portlet-api.jar;C:\Oracle\MIDDLE~1\OR
ACLE~1\modules\oracle.jrf_11.1.1\jrf.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\common\d
erby\lib\derbyclient.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\xqrl.jar
PATH=C:\Oracle\MIDDLE~1\patch_wls1033\profiles\default\native;C:\Oracle\MIDDLE~
1\patch_oepe1033\profiles\default\native;C:\Oracle\MIDDLE~1\patch_ocp353\profil
es\default\native;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32;C:\Oracle\
MIDDLE~1\WLSERV~1.3\server\bin;C:\Oracle\MIDDLE~1\modules\ORGAPA~1.1\bin;C:\Ora
cle\MIDDLE~1\JDK160~1\jre\bin;C:\Oracle\MIDDLE~1\JDK160~1\bin;C:\app\Administra
tor\product\11.2.0\dbhome_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\Syste
m32\Wbem;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32\oci920_8
* To start WebLogic Server, use a username and *
* password assigned to an admin-level user. For *
* server administration, use the WebLogic Server *
* console at http:\\hostname:port\console *
starting weblogic with Java version:
java version "1.6.0_18"
Java(TM) SE Runtime Environment (build 1.6.0_18-b07)
Java HotSpot(TM) Client VM (build 16.0-b13, mixed mode)
Starting WLS with line:
C:\Oracle\MIDDLE~1\JDK160~1\bin\java -client -Xms512m -Xmx1024m -XX:CompileTh
reshold=8000 -XX:PermSize=128m -XX:MaxPermSize=256m -Dweblogic.Name=WLS_Portle
t -Djava.security.policy=C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.poli
cy -Dweblogic.security.SSL.trustedCAKeyStore="C:\Oracle\Middleware\wlserver_10.
3\server\lib\cacerts" -Xverify:none -da -Dplatform.home=C:\Oracle\MIDDLE~1\WL
SERV~1.3 -Dwls.home=C:\Oracle\MIDDLE~1\WLSERV~1.3\server -Dweblogic.home=C:\Ora
cle\MIDDLE~1\WLSERV~1.3\server -Ddomain.home=C:\Oracle\MIDDLE~1\USER_P~1\domai
ns\BASE_D~1 -Dcommon.components.home=C:\Oracle\MIDDLE~1\ORACLE~1 -Djrf.version=
11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Lo
gger -Djrockit.optfile=C:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jr
ocket_optfile.txt -Doracle.domain.config.dir=C:\Oracle\MIDDLE~1\USER_P~1\domain
s\BASE_D~1\config\FMWCON~1 -Doracle.server.config.dir=C:\Oracle\MIDDLE~1\USER_P
~1\domains\BASE_D~1\config\FMWCON~1\servers\WLS_Portlet -Doracle.security.jps.c
onfig=C:\Oracle\MIDDLE~1\USER_P~1\domains\BASE_D~1\config\fmwconfig\jps-config.
xml -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Digf.arisidbeans.car
mlloc=C:\Oracle\MIDDLE~1\USER_P~1\domains\BASE_D~1\config\FMWCON~1\carml -Digf
.arisidstack.home=C:\Oracle\MIDDLE~1\USER_P~1\domains\BASE_D~1\config\FMWCON~1\
arisidprovider -Dweblogic.alternateTypesDirectory=\modules\oracle.ossoiap_11.1.
1,\modules\oracle.oamprovider_11.1.1 -Dweblogic.jdbc.remoteEnabled=false -Dtan
gosol.coherence.log=jdk -DjiveHome=C:\Oracle\MIDDLE~1\USER_P~1\domains\BASE_D~1
\config\fmwconfig\servers\WLS_Portlet\owc_discussions_11.1.1.2.0 -Doracle.wc.op
enusage.clustername=localhost -Doracle.wc.openusage.collectorport=31314 -Doracl
e.wc.openusage.timeout=30 -Doracle.wc.openusage.unicast=true -Doracle.wc.openus
age.enabled=false -Doracle.core.ojdl.logging.usercontextprovider=oracle.core.oj
dl.logging.impl.UserContextImpl -DUSE_JAAS=false -Djps.policystore.hybrid.mode=
false -Djps.combiner.optimize.lazyeval=true -Djps.combiner.optimize=true -Djps.
auth=ACC -Doracle.core.ojdl.logging.usercontextprovider=oracle.core.ojdl.loggin
g.impl.UserContextImpl -Doracle.wc.openusage.clustername=localhost -Doracle.wc.
openusage.collectorport=31314 -Doracle.wc.openusage.timeout=30 -Doracle.wc.open
usage.unicast=true -Doracle.wc.openusage.enabled=false -Doracle.webcenter.taggi
ng.scopeTags=false -Doracle.mds.bypassCustRestrict=true -Djava.awt.headless=tru
e -Doracle.webcenter.tagging.scopeTags=false -XX:+UseParallelGC -XX:+DisableExp
licitGC -Dwc.oracle.home=C:\Oracle\Middleware\Oracle_WC1 -Dem.oracle.home=C:\
Oracle\Middleware\oracle_common -Djava.awt.headless=true -Dweblogic.management.
discover=false -Dweblogic.management.server=http://dpdb:7001 -Dwlw.iterativeDe
v=false -Dwlw.testConsole=false -Dwlw.logErrorsToConsole=false -Dweblogic.ext.d
irs=C:\Oracle\MIDDLE~1\patch_wls1033\profiles\default\sysext_manifest_classpath
;C:\Oracle\MIDDLE~1\patch_oepe1033\profiles\default\sysext_manifest_classpath;C
:\Oracle\MIDDLE~1\patch_ocp353\profiles\default\sysext_manifest_classpath webl
ogic.Server
<Jul 16, 2010 11:01:55 AM IST> <Notice> <WebLogicServer> <BEA-000395> <Followin
g extensions directory contents added to the end of the classpath:
C:\Oracle\Middleware\user_projects\domains\base_domain\lib\mbeantypes\csp-id-as
serter.jar>
<Jul 16, 2010 11:01:55 AM IST> <Info> <WebLogicServer> <BEA-000377> <Starting W
ebLogic Server with Java HotSpot(TM) Client VM Version 16.0-b13 from Sun Micros
ystems Inc.>
<Jul 16, 2010 11:01:57 AM IST> <Info> <Security> <BEA-090065> <Getting boot ide
ntity from user.>
Enter username to boot WebLogic server:weblogic
Enter password to boot WebLogic server:
<Jul 16, 2010 11:02:12 AM IST> <Info> <Management> <BEA-141107> <Version: WebLo
gic Server 10.3.3.0 Fri Apr 9 00:05:28 PDT 2010 1321401 >
<Jul 16, 2010 11:02:14 AM IST> <Notice> <WebLogicServer> <BEA-000365> <Server s
tate changed to STARTING>
<Jul 16, 2010 11:02:14 AM IST> <Info> <WorkManager> <BEA-002900> <Initializing
self-tuning thread pool>
<Jul 16, 2010 11:02:14 AM IST> <Notice> <LoggingService> <BEA-320400> <The log
file C:\Oracle\Middleware\user_projects\domains\base_domain\servers\WLS_Portlet
\logs\WLS_Portlet.log will be rotated. Reopen the log file if tailing has stopp
ed. This can happen on some platforms like Windows.>
<Jul 16, 2010 11:02:14 AM IST> <Notice> <LoggingService> <BEA-320401> <The log
file has been rotated to C:\Oracle\Middleware\user_projects\domains\base_domain
\servers\WLS_Portlet\logs\WLS_Portlet.log00001. Log messages will continue to b
e logged in C:\Oracle\Middleware\user_projects\domains\base_domain\servers\WLS_
Portlet\logs\WLS_Portlet.log.>
<Jul 16, 2010 11:02:14 AM IST> <Notice> <Log Management> <BEA-170019> <The serv
er log file C:\Oracle\Middleware\user_projects\domains\base_domain\servers\WLS_
Portlet\logs\WLS_Portlet.log is opened. All server side log events will be writ
ten to this file.>
<Jul 16, 2010 11:02:19 AM IST> <Notice> <Security> <BEA-090082> <Security initi
alizing using security realm myrealm.>
<Jul 16, 2010 11:02:20 AM IST> <Notice> <LoggingService> <BEA-320400> <The log
file C:\Oracle\Middleware\user_projects\domains\base_domain\servers\WLS_Portlet
\logs\access.log will be rotated. Reopen the log file if tailing has stopped. T
his can happen on some platforms like Windows.>
<Jul 16, 2010 11:02:20 AM IST> <Notice> <LoggingService> <BEA-320401> <The log
file has been rotated to C:\Oracle\Middleware\user_projects\domains\base_domain
\servers\WLS_Portlet\logs\access.log00001. Log messages will continue to be log
ged in C:\Oracle\Middleware\user_projects\domains\base_domain\servers\WLS_Portl
et\logs\access.log.>
<Jul 16, 2010 11:02:24 AM IST> <Notice> <WebLogicServer> <BEA-000365> <Server s
tate changed to STANDBY>
<Jul 16, 2010 11:02:24 AM IST> <Notice> <WebLogicServer> <BEA-000365> <Server s
tate changed to STARTING>
java.lang.NoClassDefFoundError: javax/wsdl/Definition
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
at java.lang.Class.privateGetPublicMethods(Class.java:2547)
at java.lang.Class.privateGetPublicMethods(Class.java:2557)
at java.lang.Class.getMethods(Class.java:1410)
at weblogic.ejb.container.dd.xml.EjbAnnotationProcessor.getImplementedI
nterfaces(EjbAnnotationProcessor.java:1687)
at weblogic.ejb.container.dd.xml.EjbAnnotationProcessor.processSessionA
nnotations(EjbAnnotationProcessor.java:447)
at weblogic.ejb.container.dd.xml.EjbAnnotationProcessor.processAnnotati
ons(EjbAnnotationProcessor.java:310)
at weblogic.ejb.container.dd.xml.EjbAnnotationProcessor.processAnnotati
ons(EjbAnnotationProcessor.java:180)
at weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.processStandar
dAnnotations(EjbDescriptorReaderImpl.java:344)
at weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.createReadOnly
DescriptorFromJarFile(EjbDescriptorReaderImpl.java:204)
at weblogic.ejb.spi.EjbDescriptorFactory.createReadOnlyDescriptorFromJa
rFile(EjbDescriptorFactory.java:93)
at weblogic.ejb.container.deployer.EJBModule.loadEJBDescriptor(EJBModul
e.java:1242)
at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:395
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(Mod
uleListenerInvoker.java:199)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(Dep
loymentCallbackFlow.java:507)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachine
Driver.java:41)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(De
ploymentCallbackFlow.java:149)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(De
ploymentCallbackFlow.java:45)
at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.j
ava:1221)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachine
Driver.java:41)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.
java:367)
at weblogic.application.internal.EarDeployment.prepare(EarDeployment.ja
va:58)
at weblogic.application.internal.DeploymentStateChecker.prepare(Deploym
entStateChecker.java:154)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(Ap
pContainerInvoker.java:60)
at weblogic.deploy.internal.targetserver.AppDeployment.prepare(AppDeplo
yment.java:141)
at weblogic.management.deploy.internal.DeploymentAdapter$1.doPrepare(De
ploymentAdapter.java:39)
at weblogic.management.deploy.internal.DeploymentAdapter.prepare(Deploy
mentAdapter.java:191)
at weblogic.management.deploy.internal.AppTransition$1.transitionApp(Ap
pTransition.java:21)
at weblogic.management.deploy.internal.ConfiguredDeployments.transition
Apps(ConfiguredDeployments.java:240)
at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(Co
nfiguredDeployments.java:165)
at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(Con
figuredDeployments.java:122)
at weblogic.management.deploy.internal.DeploymentServerService.resume(D
eploymentServerService.java:180)
at weblogic.management.deploy.internal.DeploymentServerService.start(De
ploymentServerService.java:96)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Caused by: java.lang.ClassNotFoundException: javax.wsdl.Definition
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
... 37 more
<Jul 16, 2010 11:02:32 AM IST> <Error> <Deployer> <BEA-149205> <Failed to initi
alize the application 'wsm-pm' due to error weblogic.application.ModuleExceptio
n: Exception preparing module: EJBModule(wsm-pmserver.jar)
[EJB:011023]An error occurred while reading the deployment descriptor. The erro
r was:
javax/wsdl/Definition..
weblogic.application.ModuleException: Exception preparing module: EJBModule(wsm
-pmserver.jar)
[EJB:011023]An error occurred while reading the deployment descriptor. The erro
r was:
javax/wsdl/Definition.
at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:467
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(Mod
uleListenerInvoker.java:199)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(Dep
loymentCallbackFlow.java:507)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachine
Driver.java:41)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(De
ploymentCallbackFlow.java:149)
Truncated. see log file for complete stacktrace
Caused By: java.lang.ClassNotFoundException: javax.wsdl.Definition
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
Truncated. see log file for complete stacktrace
>
<Jul 16, 2010 11:02:38 AM IST> <Error> <Deployer> <BEA-149205> <Failed to initi
alize the application 'wsrp-tools [Version=11.1.1.2.0]' due to error java.lang.
ClassNotFoundException: javax.wsdl.WSDLException.
java.lang.ClassNotFoundException: javax.wsdl.WSDLException
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
Truncated. see log file for complete stacktrace
Caused By: java.lang.ClassNotFoundException: javax.wsdl.WSDLException
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
Truncated. see log file for complete stacktrace
>
<Jul 16, 2010 11:02:41 AM IST> <Notice> <Log Management> <BEA-170027> <The Serv
er has established connection with the Domain level Diagnostic Service successf
ully.>
<Jul 16, 2010 11:02:42 AM IST> <Error> <oracle.wsm.resources.policymanager> <WS
M-02054> <Failure in looking up EJB component QueryService#oracle.wsm.policyman
ager.ejb.IStringQueryServiceRemote.>
<Jul 16, 2010 11:02:42 AM IST> <Notice> <WebLogicServer> <BEA-000365> <Server s
tate changed to ADMIN>
<Jul 16, 2010 11:02:42 AM IST> <Notice> <WebLogicServer> <BEA-000365> <Server s
tate changed to RESUMING>
<Jul 16, 2010 11:02:42 AM IST> <Notice> <Security> <BEA-090171> <Loading the id
entity certificate and private key stored under the alias DemoIdentity from the
jks keystore file C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\DemoIdentity.jks.>
<Jul 16, 2010 11:02:42 AM IST> <Notice> <Security> <BEA-090169> <Loading truste
d certificates from the jks keystore file C:\Oracle\MIDDLE~1\WLSERV~1.3\server\
lib\DemoTrust.jks.>
<Jul 16, 2010 11:02:42 AM IST> <Notice> <Security> <BEA-090169> <Loading truste
d certificates from the jks keystore file C:\Oracle\MIDDLE~1\JDK160~1\jre\lib\s
ecurity\cacerts.>
<Jul 16, 2010 11:02:42 AM IST> <Notice> <Security> <BEA-090898> <Ignoring the t
rusted CA certificate "CN=T-TeleSec GlobalRoot Class 3,OU=T-Systems Trust Cente
r,O=T-Systems Enterprise Services GmbH,C=DE". The loading of the trusted certif
icate list raised a certificate parsing exception PKIX: Unsupported OID in the
AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
<Jul 16, 2010 11:02:42 AM IST> <Notice> <Security> <BEA-090898> <Ignoring the t
rusted CA certificate "CN=T-TeleSec GlobalRoot Class 2,OU=T-Systems Trust Cente
r,O=T-Systems Enterprise Services GmbH,C=DE". The loading of the trusted certif
icate list raised a certificate parsing exception PKIX: Unsupported OID in the
AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
<Jul 16, 2010 11:02:42 AM IST> <Notice> <Security> <BEA-090898> <Ignoring the t
rusted CA certificate "CN=GlobalSign,O=GlobalSign,OU=GlobalSign Root CA - R3".
The loading of the trusted certificate list raised a certificate parsing except
ion PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1
.11.>
<Jul 16, 2010 11:02:42 AM IST> <Notice> <Security> <BEA-090898> <Ignoring the t
rusted CA certificate "OU=Security Communication RootCA2,O=SECOM Trust Systems
CO.\,LTD.,C=JP". The loading of the trusted certificate list raised a certifica
te parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1
.2.840.113549.1.1.11.>
<Jul 16, 2010 11:02:42 AM IST> <Notice> <Security> <BEA-090898> <Ignoring the t
rusted CA certificate "CN=KEYNECTIS ROOT CA,OU=ROOT,O=KEYNECTIS,C=FR". The load
ing of the trusted certificate list raised a certificate parsing exception PKIX
: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
<Jul 16, 2010 11:02:42 AM IST> <Notice> <Server> <BEA-002613> <Channel "Default
" is now listening on 10.0.4.126:8889 for protocols iiop, t3, ldap, snmp, http.
>
<Jul 16, 2010 11:02:42 AM IST> <Notice> <Server> <BEA-002613> <Channel "Default
Secure" is now listening on 10.0.4.126:8789 for protocols iiops, t3s, ldaps, ht
tps.>
<Jul 16, 2010 11:02:42 AM IST> <Notice> <WebLogicServer> <BEA-000332> <Started
WebLogic Managed Server "WLS_Portlet" for domain "base_domain" running in Devel
opment Mode>
<Jul 16, 2010 11:02:45 AM IST> <Notice> <WebLogicServer> <BEA-000365> <Server s
tate changed to RUNNING>
<Jul 16, 2010 11:02:45 AM IST> <Notice> <WebLogicServer> <BEA-000360> <Server s
tarted in RUNNING mode>
I'm stuck on this since a long and time and not able to resolve it. Please post the solution if any.
Thanks and advance,
Surender ReddyAt first sight it seems your webcenter installation does not match the version of your WLS.
Your WLS installations seems to be 10.33 and not 10.3.2
If you are using WLS 10.3.3 you MUST also install webcenter 11.1.3
That could be the cause of your problems. -
Create a wsdl file - with schemas inline - in JDeveloper
Hi,
We are trying to create a wsdl file using schemas in jdeveloper 11.1.1.3. We could generate the wsdl file using options available in jdeveloper, but the wsdl generated contains <types> element that has schemas referenced by only an "import" statement as below.
<types>
<xsd:schema>
<xsd:import schemaLocation="../../../Test.xsd" namespace="http://www.openuri.org"/>
</xsd:schema>
</types>
But, I would like get the schemas inlined or embedded within the wsdl instead of just an import statement.. This helps me in using the wsdl anywhere (creating webservices or use in my applications or give it to some one to use) without worrying about the actual schema definition files. The <types> element within the wsdl must have the schemas embedded, something like below.
<types>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://testWSDLproject/type" elementFormDefault="qualified">
<xsd:element name="testIn">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="name" type="xsd:string"/>
<xsd:element name="value" type="xsd:integer"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
</types>
Is there any way forward, with the Jdeveloper to create wsdl files with schemas inline ?Hi Vohra,
The schema snippet pasted previously was just a sample.
In actual, there are mulitple cross referencing xsd files that must be embedded within my wsdl file. Sometimes, such manual editing of wsdl (embedding so many schema definitions) is prone to errors.
If there is an option in Jdeveloper which automatically does this embedding for us, then it becomes more handy. Have you come across any such options ? -
Wscompile: invalid element wsdl:definitions
I am trying to build client bindings for a web service using JWSDP 2.0. The command I am using is...
./wscompile.sh -s /tmp -d /tmp -gen -verbose -f:strict,wsi /tmp/performpsetransaction.wsdlWhen I run this, I get the following error:
invalid element "{http://schemas.xmlsoap.org/wsdl/}definitions" in configuration file (line 2)Here is my WSDL:
<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://OBNPSE/PerformPSETransaction" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" targetNamespace="http://OBNPSE/PerformPSETransaction" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
<wsdl:types>
<s:schema elementFormDefault="qualified" targetNamespace="http://OBNPSE/PerformPSETransaction">
<s:element name="SaveTransaction">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="PSETran1" type="tns:PSETransaction1" />
</s:sequence>
</s:complexType>
</s:element>
<s:complexType name="PSETransaction1">
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" form="unqualified" name="DriversLicenseOrStateID" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" form="unqualified" name="CustomerLastName" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" form="unqualified" name="CustomerFirstName" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" form="unqualified" name="CustomerStreet" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" form="unqualified" name="CustomerCity" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" form="unqualified" name="CustomerState" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" form="unqualified" name="CustomerZip" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" form="unqualified" name="TechID" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" form="unqualified" name="Quantity" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" form="unqualified" name="Liquid" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" form="unqualified" name="GelCap" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" form="unqualified" name="ProductName" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" form="unqualified" name="PharmacyNumber" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" form="unqualified" name="TransactionType" type="s:string" />
</s:sequence>
</s:complexType>
<s:element name="SaveTransactionResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="SaveTransactionResult" type="tns:PSETransactionResult" />
</s:sequence>
</s:complexType>
</s:element>
<s:complexType name="PSETransactionResult">
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" form="unqualified" name="TransactionStatus" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" form="unqualified" name="TransactionID" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" form="unqualified" name="DailyLimitExceeded" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" form="unqualified" name="RemainingQuantity" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" form="unqualified" name="ErrorMessage" type="s:string" />
</s:sequence>
</s:complexType>
</s:schema>
</wsdl:types>
<wsdl:message name="SaveTransactionSoapIn">
<wsdl:part name="parameters" element="tns:SaveTransaction" />
</wsdl:message>
<wsdl:message name="SaveTransactionSoapOut">
<wsdl:part name="parameters" element="tns:SaveTransactionResponse" />
</wsdl:message>
<wsdl:portType name="PerformPSETransactionSoap">
<wsdl:operation name="SaveTransaction">
<wsdl:input message="tns:SaveTransactionSoapIn" />
<wsdl:output message="tns:SaveTransactionSoapOut" />
</wsdl:operation>
</wsdl:portType>
<wsdl:portType name="PerformPSETransactionHttpGet" />
<wsdl:portType name="PerformPSETransactionHttpPost" />
<wsdl:binding name="PerformPSETransactionSoap" type="tns:PerformPSETransactionSoap">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
<wsdl:operation name="SaveTransaction">
<soap:operation soapAction="http://OBNPSE/PerformPSETransaction/SaveTransaction" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:binding name="PerformPSETransactionHttpGet" type="tns:PerformPSETransactionHttpGet">
<http:binding verb="GET" />
</wsdl:binding>
<wsdl:binding name="PerformPSETransactionHttpPost" type="tns:PerformPSETransactionHttpPost">
<http:binding verb="POST" />
</wsdl:binding>
<wsdl:service name="PerformPSETransaction">
<wsdl:port name="PerformPSETransactionSoap" binding="tns:PerformPSETransactionSoap">
<soap:address location="http://XXXXXXXXXXXXXXXX" />
</wsdl:port>
<wsdl:port name="PerformPSETransactionHttpGet" binding="tns:PerformPSETransactionHttpGet">
<http:address location="http://XXXXXXXXXXXXXXXX" />
</wsdl:port>
<wsdl:port name="PerformPSETransactionHttpPost" binding="tns:PerformPSETransactionHttpPost">
<http:address location="http://XXXXXXXXXXXXXXXX" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>Is this WSDL invalid? I don't see a problem with it.Nevermind, I just realized that the file on the command line is a configuration XML which references the WSDL and not the WSDL file itself.
-
1 project definition with several wbs elements or several project definitin
Hello
I need projects as account assignment elements in CO (when entering vendor invoices for costs). Should I have 1 project definition with all projects /wbs elements underneath, or should I have 1 project definition uniquely defined for each project/wbs element? Some projects are not settled to assets und construction, some projects are settled to assets und construction.
kind regards
ArjanArjan
I don't think you can have Projects as account assignment objects. You can have WBS element as account assignment object.
One alternative I can suggest, if you want to see project costs at higher level instead of breaking down the project into many WBS elements. Create a project with one WBS element only and use that WBS element as account assignment object.
It is only possible to have a project with one or more WBS elements. I don't think you can define projects within projects.
letus put it this way assume WBS elements are projects within a project. But make sure all the WBS elements are related to one project
Hope you are clear now.
Thanks
Prasad -
Multiple ResourceBundle definitions with the same name
I created a new web application project with JSF support using Netbeans 5.5Beta. The new project has a simple welcomeJSF page that I did not modify. The only modifications I did is adding a CustomMessages.properties file under com.mywebsite.resourcs and adding the following entry to faces-config.xml:
<application>
<resource-bundle>
<base-name>com.mywebsite.resources.CustomMessages</base-name>
<var>BundleOne</var>
</resource-bundle>
<locale-config>
<default-locale>en</default-locale>
</locale-config>
</application>Now when I right click welcomeJSF and select Run File, the follow error is added to the log file of SJSAS PE9:
Message ID:
WebModule[/WebApplication1]Exception sending context initialized event to listener instance of class com.sun.faces.config.GlassFishConfigureListener javax.faces.FacesException
Complete Message
Can't parse configuration file: jndi:/server/WebApplication1/WEB-INF/faces-config.xml: Error at line 14 column 27: Error at (14, 27: Multiple ResourceBundle definitions with the same name: BundleOne.
at com.sun.faces.config.ConfigureListener.parse(ConfigureListener.java:1751)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:524)
at com.sun.faces.config.GlassFishConfigureListener.contextInitialized(GlassFishConfigureListener.java:47)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4236)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4760)
at com.sun.enterprise.web.WebModule.start(WebModule.java:292)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:833)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:817)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:659)
at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1468)
at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1133)
at com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:171)
at com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:275)
at com.sun.enterprise.admin.event.AdminEventMulticaster.invokeModuleDeployEventListener(AdminEventMulticaster.java:954)
at com.sun.enterprise.admin.event.AdminEventMulticaster.handleModuleDeployEvent(AdminEventMulticaster.java:941)
at com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:448)
at com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:160)
at com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastEvent(DeploymentNotificationHelper.java:296)
at com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent(DeploymentServiceUtils.java:203)
at com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStartEvent(ServerDeploymentTarget.java:285)
at com.sun.enterprise.deployment.phasing.ApplicationStartPhase.runPhase(ApplicationStartPhase.java:119)
at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:95)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:871)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:541)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:585)
at com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.start(ApplicationsConfigMBean.java:719)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:353)
at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:336)
at com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:448)
at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:77)
at $Proxy1.invoke(Unknown Source)
at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:297)
at com.sun.enterprise.admin.jmx.remote.server.callers.InvokeCaller.call(InvokeCaller.java:56)
at com.sun.enterprise.admin.jmx.remote.server.MBeanServerRequestHandler.handle(MBeanServerRequestHandler.java:142)
at com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.processRequest(RemoteJmxConnectorServlet.java:109)
at com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.doPost(RemoteJmxConnectorServlet.java:180)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:397)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:278)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:240)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:179)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
at com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:231)
at com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(ProcessorTask.java:667)
at com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBlocked(ProcessorTask.java:574)
at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:844)
at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:287)
at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:212)
at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:75)Go ahead and doubt if it makes you feel superior.
For others:
If your pom has this:
<dependency>
<groupId>javax.faces</groupId>
<artifactId>jsf-api</artifactId>
<version>${jsf.version}</version>
</dependency>
<dependency>
<groupId>javax.faces</groupId>
<artifactId>jsf-impl</artifactId>
<version>${jsf.version}</version>
</dependency>
where jsf.version = 1.2, change jsf.version to 1.2_10 -
PI does not combine .wsdl file with .xsd files.
Hi,
I imported .wsdl file with necessary .xsd files in PI system (7.1).
PI does not find fields in .wsdl already necessary .xsd files imported with .wsdl file.
Is there anyone to help me to solve problem with test it in PI system.
I send .wsdl file and necessary .xsd files as attachment his mail address.
Thanks.Did you try opening the wsdl file in some XML tool...if there is problem in referring the XSD then it will be visible in the tool itself.....even I am working on PI7.1 and some of the WSDLs are referring XSDs...and i had no problem in using them.....dont know what is failing in your case
Do you want me to send .wsdl and .xsd files zipped into your mail box
instead you can post your wsdl file and the corresponding XSD here in SDN....even a dummy structure would do....we are not allowed to do personal email comunication
Regards,
Abhishek. -
The located assembly's manifest definition with name 'openfoundation' does not match the assembly re
Ok. been working on this for the better part of a day. I am having trouble with the .net web controls. trying to create a simple portlet that populates a text box with values from a 2nd text box when a button is selected. both text boxes are in the same portlet.
without using the <httpModules> entry in the web.config file the portlet works fine, but it does pop you out of the portal.
setup: working in a Dev. environment with portal and portlets on the same box.Portal version is 5.0.2.EDK version is 5.0.2.
error:
The located assembly's manifest definition with name 'openfoundation' does not match the assembly reference.Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.IO.FileLoadException: The located assembly's manifest definition with name 'openfoundation' does not match the assembly reference.Source Error:An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.Assembly Load Trace:The following information can be helpful to determine why the assembly 'openfoundation' could not be loaded.=== Pre-bind state information ===
LOG: DisplayName = openfoundation, Version=2.0.9.3152, Culture=neutral, PublicKeyToken=d0e882dd51ca12c5
(Fully-specified)
LOG: Appbase = file:///c:/inetpub/wwwroot/netTest
LOG: Initial PrivatePath = bin
Calling assembly : dotnetportlet, Version=3.5.0.1, Culture=neutral, PublicKeyToken=null.
===
LOG: Publisher policy file is not found.
LOG: No redirect found in host configuration file (C:\WINNT\Microsoft.NET\Framework\v1.1.4322\aspnet.config).
LOG: Using machine configuration file from C:\WINNT\Microsoft.NET\Framework\v1.1.4322\config\machine.config.
LOG: Post-policy reference: openfoundation, Version=2.0.9.3152, Culture=neutral, PublicKeyToken=d0e882dd51ca12c5
LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/nettest/9e6689f5/a0d2f067/openfoundation.DLL.
LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/nettest/9e6689f5/a0d2f067/openfoundation/openfoundation.DLL.
LOG: Attempting download of new URL file:///c:/inetpub/wwwroot/netTest/bin/openfoundation.DLL.
WRN: Comparing the assembly name resulted in the mismatch: Minor Version
Stack Trace:[FileLoadException: The located assembly's manifest definition with name 'openfoundation' does not match the assembly reference.]
Plumtree.Remote.Portlet.PortletContextFactory.CreatePortletContext(HttpRequest req, HttpResponse resp) +0
Com.Plumtree.Remote.Transformer.Condition.GatewayedStandardCondition.UseFilter(HttpContext ctx)
Com.Plumtree.Remote.Transformer.FilterManager.UpdateFilter(HttpContext ctx)
Com.Plumtree.Remote.Transformer.PTTransformer.BeginRequestHandler(Object sender, EventArgs e)
System.Web.SyncEventExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute() +60
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +87
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.947
************************************************************Is there any step by step instructions for setting up and using the .net web controls in Plumtree????
There doesn't seem to be any information in one spot as to setting up the environment to use the .Net Web Controls. I have had to piece together information from multipule threads to get this far. I.E. there was nothing in any documentation that I have read that required the installation of the VJ# lib's. (that error took me the first half of the day to resolve :-) )
Thanks for any help,
Greg************************************************************Also, when reviewing the Plumtree_.NET_Web_Controls_InstallLog.log there were 5 nonfatal erros. These error's were:
Install File: E:\plumtree\ptwc\2.0\bin\assemblies\edk.dll Status: ERROR Additional Notes: ERROR - java.io.FileNotFoundException: E:\plumtree\ptwc\2.0\bin\assemblies\edk.dll (The process cannot access the file because it is being used by another process)
Install File: E:\plumtree\ptwc\2.0\bin\assemblies\jsregistry.dll Status: ERROR Additional Notes: ERROR - java.io.FileNotFoundException: E:\plumtree\ptwc\2.0\bin\assemblies\jsregistry.dll (The process cannot access the file because it is being used by another process)
Install File: E:\plumtree\ptwc\2.0\bin\assemblies\log4net.dll Status: ERROR Additional Notes: ERROR - java.io.FileNotFoundException: E:\plumtree\ptwc\2.0\bin\assemblies\log4net.dll (The process cannot access the file because it is being used by another process)
Install File: E:\plumtree\ptwc\2.0\bin\assemblies\openfoundation.dll Status: ERROR Additional Notes: ERROR - java.io.FileNotFoundException: E:\plumtree\ptwc\2.0\bin\assemblies\openfoundation.dll (The process cannot access the file because it is being used by another process)
Install File: E:\plumtree\ptwc\2.0\bin\assemblies\Plumtree.WCFilter.dll Status: ERROR Additional Notes: ERROR - java.io.FileNotFoundException: E:\plumtree\ptwc\2.0\bin\assemblies\Plumtree.WCFilter.dll (The process cannot access the file because it is being used by another process)
When installing the Web Control's do you need to stop any services? I didn't see anything in the install notes about doing this? -
Java code to connect to WSDL file with custom header
Hi all,
I am an absolute noob when it comes to Java. I need to write a Java app that can connect to a WSDL file with a custom header. Basically, all I need to do is connect to the web service and pass a username and password.
Any help would be appreciated.
Thanks,
ABetter you use tools which can generate code(interface,proxy and stub classes) which can take care of calling all the WSDL defined methods..i generally use RAD not an open source as per OP use eclipse open source or netbeans which can do the trick
-
Site Definition with Custom List Intance with Custom fields
How to create VS 2012 > Site Definition with Custom List Instance with Custom fields?
<site>
<list>
<field>Hi Sunil,
it is the same way we create in VS 2010.
Add a new empty SP project in VS2012 and then add, site, list and fields as per your requirement.
Here are few references-
Creating SharePoint 2010 Site Definitions in Visual Studio 2010
http://msdn.microsoft.com/en-us/library/gg276356(v=office.14).aspx
Creating SharePoint 2010 List Definitions in Visual Studio 2010
http://msdn.microsoft.com/en-us/library/gg276355(v=office.14).aspx
Walkthrough: Create a Basic Site Definition Project
http://msdn.microsoft.com/en-us/library/ee231583.aspx
and I normally create a blank site with all required configuration and then create, import the template to hand craft the list and fields. this would minimize errors.
see the below blog on this topic
http://blogs.msdn.com/b/sambetts/archive/2013/10/17/creating-a-clean-visual-studio-solution-from-a-sharepoint-2013-site-template.aspx
Hope this helps!
Ram - SharePoint Architect
Blog - SharePointDeveloper.in
Please vote or mark your question answered, if the reply helps you -
The WSDL definition could not be parsed.
Hi All,
I am trying to import a Web Service into a Flex project.
In the first step it will parse the wsdl file and fetches me all the operations of the service. But when i click on the Finish button
it gives me this error message "The WSDL definition could not be parsed. The wizard could not complete successfully."
I am using Flex Builder 3, CE 7.1 EHP1.
Any help on this would be appretiated.
Thanks,
Sudheer.Hi Sudheer,
Refer these bug reports :
http://bugs.adobe.com/jira/browse/SDK-13924
http://bugs.adobe.com/jira/browse/FB-10541
http://bugs.adobe.com/jira/browse/FB-13686
Regards,
Vivek -
Failed to find WSDL definition and/or locate WSDL file
I am getting this exception
Failed to find WSDL definition and/or locate WSDL file:
- WSDLException: faultCode=OTHER_ERROR: Failed to read WSDL from http://10.126.2.78:6001/HPSDAdapter-HPSDAdapter-webapp/HPSDAdapterService/HPSDAdapterService?wsdl: HTTP connection error code is 407
oracle.j2ee.ws.wsdl.LocalizedWSDLException: WSDLException: faultCode=OTHER_ERROR: Failed to read WSDL from http://10.126.2.78:6001/HPSDAdapter-HPSDAdapter-webapp/HPSDAdapterService/HPSDAdapterService?wsdl: HTTP connection error code is 407
while opening my SOA composite on Jdeveloper 11.1.1.5, this webservice I have added before and it was working fine but now I am getting exception continuously, I am not using proxy in Jdev and can't go for new release as other teams have this version only.
Please suggest what should I do for that.
Thanks.If the server containing the webservices is not running or something in the signature of the webservice has changed, you most likely will get this error. When opening the composite, JDev always validates that all the services that are referenced are alive.
Juan C. -
Revision: 2277
Author: [email protected]
Date: 2008-06-27 08:22:18 -0700 (Fri, 27 Jun 2008)
Log Message:
1) Update the messaging-config.xml under resource and add the cluster definition with shared-backend attribute. [#blz-197]
2) Minor update to the session test.
Ticket Links:
http://bugs.adobe.com/jira/browse/blz-197
Modified Paths:
blazeds/branches/3.0.x/qa/apps/qa-regress/WEB-INF/src/remoting/session/FlexSessionAttribu teListenerTest.java
blazeds/branches/3.0.x/resources/config/messaging-config.xmlTo use servlets u have indeed to update your web.xml...Well I'm not sure this is relevant to your case anyway.
You have to add a <servlet> element to this file.
Something like this:
<servlet>
<servlet-name>blabla</servlet-name>
<servlet-class>blablapackage.Blablaclass</servlet-class>
<init-param>...</init-param>
</servlet>
Now this may not solve your problem. Make sure you refer to your servlets using their full qualified names.btw, just to be sure, what is your definition of "servlet"? (i mean: any java class or only javax.servlet.Servlet) -
We have got 5.0.2 Plumtree portal, EDK 5.0.2 and .Net Web Controls 2.1.
I am trying to call:
IPortletContext oPortletContext = PortletContextFactory.CreatePortletContext(System.Web.HttpContext.Current.Request, System.Web.HttpContext.Current.Response);
I have attached the error I am getting. Is this related to Open Foundation version? This is quite urgent because we are in the process of trying to get a demo together for grabbing Activity Rights.
Server Error in '/portlets/DOJ/JNET/pretzel.clients.doj.reentry' Application.
The located assembly's manifest definition with name 'openfoundation' does not match the assembly reference.Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.IO.FileLoadException: The located assembly's manifest definition with name 'openfoundation' does not match the assembly reference.Source Error:An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.Assembly Load Trace:The following information can be helpful to determine why the assembly 'openfoundation' could not be loaded.=== Pre-bind state information ===
LOG: DisplayName = openfoundation, Version=2.0.9.8318, Culture=neutral, PublicKeyToken=d0e882dd51ca12c5
(Fully-specified)
LOG: Appbase = file:///E:/Data/HSTPRDAPP01/Inetpub/plumtree/portlets/DOJ/JNET/pretzel.clients.doj.reentry
LOG: Initial PrivatePath = bin
Calling assembly : dotnetportlet, Version=3.5.0.1, Culture=neutral, PublicKeyToken=null.
===
LOG: Publisher policy file is not found.
LOG: No redirect found in host configuration file (C:\WINNT\Microsoft.NET\Framework\v1.1.4322\aspnet.config).
LOG: Using machine configuration file from C:\WINNT\Microsoft.NET\Framework\v1.1.4322\config\machine.config.
LOG: Post-policy reference: openfoundation, Version=2.0.9.8318, Culture=neutral, PublicKeyToken=d0e882dd51ca12c5
LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/portlets_doj_jnet_pretzel.clients.doj.reentry/26128f6f/cfc1837a/openfoundation.DLL.
LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/portlets_doj_jnet_pretzel.clients.doj.reentry/26128f6f/cfc1837a/openfoundation/openfoundation.DLL.
LOG: Attempting download of new URL file:///E:/Data/HSTPRDAPP01/Inetpub/plumtree/portlets/DOJ/JNET/pretzel.clients.doj.reentry/bin/openfoundation.DLL.
WRN: Comparing the assembly name resulted in the mismatch: Minor Version
Stack Trace:[FileLoadException: The located assembly's manifest definition with name 'openfoundation' does not match the assembly reference.]
Plumtree.Remote.Portlet.PortletContextFactory.CreatePortletContext(HttpRequest req, HttpResponse resp) +0
pretzel.clients.doj.reentry.navigation.Page_Load(Object sender, EventArgs e) in \\devnet2\inetpub\doj\reentry\development\pretzel.clients.doj.reentry\navigation.aspx.cs:22
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +750
Version Information: Microsoft .NET Framework Version:1.1.4322.1031; ASP.NET Version:1.1.4322.947I have seen this before after a upgrade of the EDK, found I had to remove the reference in the C# project to the old EDK dll and re add it to the new EDK dll.
Also noticed that you are using the System.Web.HttpContext.Current fully qualified namespace in the CreatePortletContext() call instead of the usual way of PortletContextFactory.CreatePortletContext(Request, Response) this uses the System.Web.HttpRequest.Page namespace by default. -
How to parse the WSDL Datatypes using WSDL4J?
Hi,
I am new to WSDL4J. Trying some programs from the info given here in various threads.
Could any one give me a sample code for getting the datatypes from the WSDL using the WSDL4J? I am in need of simple as well as complex data types.
I have already referred http://forums.sun.com/thread.jspa?threadID=467761 and http://wsdl4j.sourceforge.net/downloads/JWSDLFinalReleas-1.0-jsr110-1.0.pdf
Looking forward for the demo code or the link to find the code.
Thanks,
SundharakanthPlease let me know, if the following code will work in getting the datatypes.
List operations = portType.getOperations();
Iterator opIterator = operations.iterator();
while (opIterator.hasNext())
Operation operation = (Operation)opIterator.next();
if (!operation.isUndefined())
System.out.println("\n\t_______"+operation.getInput());
Object Obj = operation.getInput();
InputImpl Inputclass = (InputImpl) Obj;
System.out.println("\n\t_____inputclass : ____" +Inputclass);
System.out.println("\n\t_____inputclass message_____" +Inputclass.getMessage());
if (operation.getInput() != null && operation.getOutput() != null)
OperationType = "REQUEST_RESPONSE";
else if (operation.getInput() != null && operation.getOutput() == null)
OperationType = "ONE_WAY";
QName inPartTypeName = null;
// display request parameters
Map inputPartsMap = operation.getInput().getMessage().getParts();
Collection inputParts = inputPartsMap.values();
Iterator inputPartIter = inputParts.iterator();
System.out.print("\tRequest: ");
while (inputPartIter.hasNext())
Part part = (Part)inputPartIter.next();
String inPartName = part.getName();
inPartTypeName = part.getTypeName();
System.out.println(inPartName + ":" + inPartTypeName.getLocalPart() + " , " + inPartTypeName.getNamespaceURI());
// display response parameters
Map outputPartsMap = operation.getOutput().getMessage().getParts();
Collection outputParts = outputPartsMap.values();
Iterator outputPartIter = outputParts.iterator();
System.out.print("\tResponse: ");
while (outputPartIter.hasNext())
Part part = (Part)outputPartIter.next();
String outPartName = part.getName();
QName outPartTypeName = part.getTypeName();
System.out.println(outPartName + ":" + outPartTypeName.getLocalPart() + " , " + inPartTypeName.getNamespaceURI());
}
Maybe you are looking for
-
JAAS and Active Directory Problem
I am attempting to use the JAAS Tutorial code to authenticate against a Windows 2000 domain controller. The code as is works against a domain controller that I set up, but when I attempt to authenticate against a client's domain, I receive an excepti
-
How do I set an icon and type for my own extension?
Hello everybody I would like to be able to give a particular icon to a file type that my program will generate and set it to always open in a particular program. For instance, my program might generate a settings file called myProgram.prefs - so I'd
-
How to manually write log file when tranform xslt by using Transformer?
I want to ask experts that are there any way to write the information(such as template name or number of template used) into log file while performing transformation with javax.xml.transform.Transformer. Below is my sample code import javax.xml.trans
-
ODBC instant client driver rpm for Linux X64
Hi, Can anyone tell me where can I find odbc instant client driver rpm for Linux X64 edition. I can only see for Linux x32 not for X64. Edited by: user11128035 on Sep 6, 2009 3:13 AM Edited by: user11128035 on Sep 6, 2009 3:15 AM
-
Camera Raw Default Tone Curve Function / Coordinates
Hi, I would like to know where I can find the function / coordinates for the Lightroom / ACR default tone curve that is applied to any image. I think it's the red one in that image, or it's very very close: I want to generate a lookup table to match