Error trying to generate WSDL of webservice in JDeveloper 11.1.1.3
Hey,
Everytime I try to generate a WSDL of a webservice I get the following stack trace:
java.lang.NullPointerException
at oracle.jdeveloper.webservices.model.java.JavaWebServiceValidator.getTypeReasons(JavaWebServiceValidator.java:882)
at oracle.jdeveloper.webservices.model.java.JavaWebServiceValidator.getInvalidValueTypes(JavaWebServiceValidator.java:1060)
at oracle.jdeveloper.webservices.model.java.JavaWebServiceValidator.getValidationErrors(JavaWebServiceValidator.java:241)
at oracle.jdeveloper.webservices.model.CoreHashStructureModel.validate(CoreHashStructureModel.java:187)
at oracle.jdeveloper.webservices.model.generator.Validation.action(Validation.java:65)
at oracle.jdeveloper.webservices.model.generator.GeneratorAction.run(GeneratorAction.java:143)
at java.lang.Thread.run(Thread.java:619)
I'm able to run this webservice via run and debug as well as "Test this webservice." It's just when I try to generate the WSDL from within jdeveloper that I get this message. I'm even able to view the WSDL file within the browser by adding ?WSDL at the end of the url for the web service endpoint. Any ideas?
So, I need to have the @XmlSeeAlso() for this service to work since it relies on outside classes to run. But, I did remove the @XmlSeeAlso() from the class just to see if this would allow JDeveloper to generate the WSDL and when I do this I get the following stack trace:
oracle.jdeveloper.webservices.tools.WsdlValidationException: java.lang.NullPointerException
at oracle.jdevimpl.webservices.tools.wsa.WsaAdaptor.newWsdlValidationException(WsaAdaptor.java:825)
at oracle.jdevimpl.webservices.tools.wsa.WsaAdaptor.createWsdl(WsaAdaptor.java:376)
at oracle.jdeveloper.webservices.tools.WebServiceTools.createWsdl(WebServiceTools.java:388)
at oracle.jdeveloper.webservices.model.java.generator.CreateWSDL.createWSDL(CreateWSDL.java:281)
at oracle.jdeveloper.webservices.model.generator.CommonCreateWSDL.action(CommonCreateWSDL.java:59)
at oracle.jdeveloper.webservices.model.generator.GeneratorAction.run(GeneratorAction.java:143)
at java.lang.Thread.run(Thread.java:619)
Caused by: oracle.j2ee.ws.common.tools.api.ValidationException: java.lang.NullPointerException
at oracle.j2ee.ws.tools.wsa.JavaToWsdlTool.genWSDL(JavaToWsdlTool.java:1079)
at oracle.j2ee.ws.tools.wsa.Util.genWSDL(Util.java:1559)
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 oracle.jdevimpl.webservices.tools.wsa.Assembler$2$1.invoke(Assembler.java:218)
at $Proxy42.genWSDL(Unknown Source)
at oracle.jdevimpl.webservices.tools.wsa.WsaAdaptor.createWsdl(WsaAdaptor.java:372)
... 5 more
Caused by: java.lang.NullPointerException
at oracle.j2ee.ws.common.jaxws.wsdl.WSDLTypesGenerator.generateGlobalElement(WSDLTypesGenerator.java:308)
at oracle.j2ee.ws.common.jaxws.wsdl.WSDLTypesGenerator.generateWrapperGlobalElements(WSDLTypesGenerator.java:226)
at oracle.j2ee.ws.common.jaxws.wsdl.WSDLTypesGenerator.generateTypes(WSDLTypesGenerator.java:134)
at oracle.j2ee.ws.common.jaxws.wsdl.WSDLGenerator.generateTypes(WSDLGenerator.java:236)
at oracle.j2ee.ws.common.jaxws.wsdl.WSDLGenerator.generateWsdlForOnePortType(WSDLGenerator.java:190)
at oracle.j2ee.ws.common.jaxws.wsdl.WSDLGenerator.generate(WSDLGenerator.java:157)
at oracle.j2ee.ws.tools.wsa.JavaToWsdlTool.genWSDL(JavaToWsdlTool.java:1074)
... 13 more
Edited by: user12883803 on Jun 25, 2010 7:02 AM
Similar Messages
-
Dr. Watson error trying to generate report
I am running Sun Java System Web Server 6.1 SP5 on Windows Server 2003 with SP1 which has been locked down using the Bastion Host server role from the Windows Server 2003 Security Guide. When I try to generate a report on the web site statistics through the Server Manager (web admin console) I get the pop-up screen which says:
Starting analysis
Attempting to run:
D:/Sun/WEBSER~1/WEBSER~1.1/extras/flexanlg/flexanlg -F -n acol-prod2.acol.ca -i D:/Sun/WEBSER~1/WEBSER~1.1/HTTPS-~2/logs/access -o c:\stat.txt -c hnrfeuok -t s5m5h10 -l c+5h5 -p ctl
This may take a bit.
But the report does not get generated and I get the following error in the Event Viewer Application Log:
Event Type: Information
Event Source: DrWatson
Event Category: None
Event ID: 4097
Date: 2/20/2006
Time: 9:17:06 AM
User: N/A
Computer: WEB100
Description:
The application, D:\Sun\WebServer\WebServer6.1\bin\https\httpadmin\bin\lganalyz.exe, generated an application error The error occurred on 02/20/2006 @ 09:17:06.313 The exception generated was c0000005 at address 77BD03BA (msvcrt!popen).
I thought this might be a permissions problem, so I tried running the Administrator Server service as the local admin account instead of Local System Account. I get the same result either way.
Any ideas on what might be causing the problem?
Thanks,
ChrisJust a little further info. I installed Windows 2003 with SP1 and the latest updates available through Windows Updates and Sun Java System Web Server SP5 on a new server. I did not do any of the security configuration lockdown as I had done on the other server. I am still getting the Dr. Watson error when trying to generate a report, but I am also getting the following error:
Event Type: Error
Event Source: Application Error
Event Category: (100)
Event ID: 1000
Date: 2/23/2006
Time: 1:42:16 PM
User: N/A
Computer: WEB100-TEST
Description:
Faulting application lganalyz.exe, version 0.0.0.0, faulting module msvcrt.dll, version 7.0.3790.1830, fault address 0x000303ba.
Hope this helps!
~Chris -
Error trying to generate addmrpt (ADDM Report) on Oracle 10.1.0.4
Hello,
When I launch $ORACLE_HOME/rdbms/admin/addmrpt.sql on my Fedora 3 Oracle 10g connected using sys as sysdba (or system), I get the following error :
Specify the Begin and End Snapshot Ids
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Entrez une valeur pour begin_snap : 210
Begin Snapshot Id specified: 210
Entrez une valeur pour end_snap : 211
End Snapshot Id specified: 211
Specify the Report Name
~~~~~~~~~~~~~~~~~~~~~~~
The default report file name is addmrpt_1_210_211.txt. To use this name,
press <return> to continue, otherwise enter an alternative.
Entrez une valeur pour report_name :
Using the report name addmrpt_1_210_211.txt
Running the ADDM analysis on the specified pair of snapshots ...
begin
ERREUR a la ligne 1 :
ORA-13711: Des statistiques de cle sont absentes de certains cliches dans la
plage [210, 211].
ORA-06512: a "SYS.PRVT_ADVISOR", ligne 1283
ORA-06512: a "SYS.DBMS_ADVISOR", ligne 190
ORA-06512: a ligne 27
Generating the ADDM report for this analysis ...
ERROR:
ORA-14552: operation DDL, COMMIT ou ROLLBACK interdite dans une instruction DML
ou une interrogation
ORA-06512: a "SYS.PRVT_ADVISOR", ligne 1750
ORA-13608: Le nom de tache ou d'objet NULL n'est pas valide.
ORA-06512: a "SYS.DBMS_ADVISOR", ligne 569
ORA-06512: a ligne 1
Any help to solve this problem ?
Oups, when I use awrrpt on the same snapshot, I get a correct report.
Regards,
FreddyPlease refer to the patchnote.htm that is bundled with 10.1.0.4.0 patch set. Only you are aware of what type of database configuration you have. You will want to pay close attention to "7.2.1.3 Set the SHARED_POOL_SIZE and JAVA_POOL_SIZE Initialization Parameters" and "7.2.2 Upgrade the Release 10.1 Database".
Basically, I believe you have missed these required steps after installing the 10.1.0.4.0 patch set from the OUI:
(pasted from the patchnote.htm)
13. Enter the following SQL*Plus commands:
14. SQL> STARTUP UPGRADE
15. SQL> SPOOL patch.log
16. SQL> @ORACLE_BASE\ORACLE_HOME\rdbms\admin\catpatch.sql
17. SQL> SPOOL OFF
18.
19. Review the patch.log file for errors and inspect the list of components that is displayed at the end of catpatch.sql script.
This list provides the version and status of each SERVER component in the database.
20. If necessary, rerun the catpatch.sql script after correcting any problems.
21. Restart the database:
22. SQL> SHUTDOWN
23. SQL> STARTUP
24.
25. Run the utlrp.sql script to recompile all invalid PL/SQL packages now instead of when the packages are accessed for the first time. This step is optional but recommended.
26. SQL> @ORACLE_BASE\ORACLE_HOME\rdbms\admin\utlrp.sql -
Error trying to generate a request code
I received the CS6 production suite and am trying to deploy it on a number of off-line machines. According to what I can make out of the instructions for the Provisioning Toolkit, I need to open the Provisioning Tool on the off-line machine and then type in:
adobe_prtk --tool=Type1Exception accept --serial=
and then the serial number I received from Adobe in order to receive a request code for activation, but when I do that, I get a "command not found" message in the terminal. I have copy/pasted the command line directly from the document. I can breifly turn the off-line machine's wireless on (although I hate to do it as it destabilizes our system) but I suspect if I do that and enter the serial number that way, then that will be the only machine I can install the package on. Any help would be appreciated.In Creative Suite 6, users needs to be online for serialization to be successful. However if there are client
machines that are not connected to the internet, the following process, called the Type1Exception process,
can be followed to serialize a package.
This process requires generation of a keycode on the offline client machine. The keycode is then used to
generate a response code from an online machine. The response code generated using the online
machine is then used to serialize the package on the offline client machine.
This process can be used for both Retail and Volume customers.
1.On the offline client machine, generate a request code for activation by running the following command:
adobe_prtk --tool=Type1Exception --generate --serial=serialNum
where serialNum is the serial number
This command returns a 44-character request code.
2.Using an online machine. visit the AOES website:
http://www.adobe.com/go/getactivated
3.At the AOES website, log in with the Adobe ID.
4.Once authenticated, enter the Adobe serial number and the request code that was generated in step 1. Once the activation service successfully activates it, the response code is displayed.
5.Note down the response code
6.On the offline client machine, run the following command to activate the package
adobe_prtk --tool=Type1Exception accept --serial=serialNum --responsecode=responseCode --leid=LEID -
Hello,
I am using Oracle 12.1.1 version. I can not Generate WSDL, can not see the role Integrate Repository Administrator (UMX|FND_IREP_ADMIN) and the file “$FND_TOP/bin/irep_parser.pl” are not exist.
When attempting to generate a WSDL in the iRespository for a seeded or custom Integration Interfaces the following error occurs.
ERROR
SOA Provider Access resulted in exception 'oracle.apps.fnd.soa.util.SOAException: SystemError: Error while sending message to server. Server returned HTTP response code: 500 for URL: http://pcf003.com.tun:8005/webservices/SOAProvider/EbizAuth?Generate=1899&soa_ticket=gSSIjNBE3_auvzVEBwMM4Q..' when attempting to perform 'GENERATE'. Please contact your System Administrator
Regards
Hassen BEN SLIMAService Provider Access resulted in exception 'oracle.apps.fnd.soa.util.SOAException: SystemError: Error while sending message to server. http://ec2-107-22-78-224.compute-1.amazonaws.com:8000/webservices/SOAProvider/EbizAuth?Generate=1132&soa_ticket=Tu2z7GYoWPwq-VdgimKRFg..' when attempting to perform 'GENERATE'. Please view Service Provider logs for more details
Can you find any details about the error in the log?
I have looked at the following Note as well:
Error using the Generate WSDL Button in Oracle E-Business Suite Integrated Soa Gateway Release 12.1.1 [ID 1090946.1]Did the doc help?
Any one know what may be causing this issue? Do we have to do additional setup for SOA gateway after the standard install of the OVM? I tried to follow the steps in the note above but I do not see any entry for "<jdbc_url oa_var="s_apps_jdbc_connect_descriptor"/>" in the file data-sources.xml.
Anyone have any ideas?Have you reviewed these docs?
Oracle E-Business Suite Integrated SOA Gateway Troubleshooting Guide, Release 12 [ID 726414.1]
Oracle E-Business Suite Integrated SOA Gateway 12.1.1 Consolidated One-Off [ID 815196.1]
Thanks,
Hussein -
'Generate WSDL' error on OVM Template for EBS R12 (12.1.3)
All,
I have a standard VISION instance installed and running based on the OVM template for 12.1.3. When I tried to expose a Web Service via 'Generate WSDL' under Integrated SOA Gateway..I get the following error:
Service Provider Access resulted in exception 'oracle.apps.fnd.soa.util.SOAException: SystemError: Error while sending message to server. http://ec2-107-22-78-224.compute-1.amazonaws.com:8000/webservices/SOAProvider/EbizAuth?Generate=1132&soa_ticket=Tu2z7GYoWPwq-VdgimKRFg..' when attempting to perform 'GENERATE'. Please view Service Provider logs for more details
I have looked at the following Note as well:
Error using the Generate WSDL Button in Oracle E-Business Suite Integrated Soa Gateway Release 12.1.1 [ID 1090946.1]
Any one know what may be causing this issue? Do we have to do additional setup for SOA gateway after the standard install of the OVM? I tried to follow the steps in the note above but I do not see any entry for "<jdbc_url oa_var="s_apps_jdbc_connect_descriptor"/>" in the file data-sources.xml.
Anyone have any ideas?Service Provider Access resulted in exception 'oracle.apps.fnd.soa.util.SOAException: SystemError: Error while sending message to server. http://ec2-107-22-78-224.compute-1.amazonaws.com:8000/webservices/SOAProvider/EbizAuth?Generate=1132&soa_ticket=Tu2z7GYoWPwq-VdgimKRFg..' when attempting to perform 'GENERATE'. Please view Service Provider logs for more details
Can you find any details about the error in the log?
I have looked at the following Note as well:
Error using the Generate WSDL Button in Oracle E-Business Suite Integrated Soa Gateway Release 12.1.1 [ID 1090946.1]Did the doc help?
Any one know what may be causing this issue? Do we have to do additional setup for SOA gateway after the standard install of the OVM? I tried to follow the steps in the note above but I do not see any entry for "<jdbc_url oa_var="s_apps_jdbc_connect_descriptor"/>" in the file data-sources.xml.
Anyone have any ideas?Have you reviewed these docs?
Oracle E-Business Suite Integrated SOA Gateway Troubleshooting Guide, Release 12 [ID 726414.1]
Oracle E-Business Suite Integrated SOA Gateway 12.1.1 Consolidated One-Off [ID 815196.1]
Thanks,
Hussein -
Error: No data for binding key while generating WSDL
Hello users,
I have converted a custom rfc to webservice using Wizard tool. While generating WSDL file using Open WSDL document for selected binding of SOAMANAGER, i'm getting the error message 'No Data for Binding Key'.
Can anyone let me know the solution to resolve this issue? Also, I could note that the Object Status for this sevice reads Services: 0 / Endpoints: 0
Strangely, I tried to generate WSDL for another Custom Webservice and it did get generated but with 403 error page. and for this the Object Status read Services: 1 / Endpoints: 1.
Any information with respect to this is appreciated.
Thanks in advance.
Regards,
NareshHi Naresh,
You have posted the question in the wrong forum, it should have been posted in Webdynpro.
Cheers,
Bhavana -
Error while generating WSDL: AnnotatedNoClassDefFoundError
Hi Team,
I am trying to generate WSDL from SOA IG responsibility getting the below error :
"Service Provider Access resulted in exception 'oracle.apps.fnd.soa.util.SOAException: ServiceGenerationError: ServiceGenerationError: Error in Service Generationoracle/classloader/util/AnnotatedNoClassDefFoundError' when attempting to perform 'GENERATE'. Please view Service Provider logs for more details":
Prerequisite.
1. Created PL SQL package.
2. Annotated the Package spec as per SOA standard
3. pasred and created iLDT and uploaded the package spec in IR(Integrated Repository)
4. Could see the new interface in from SOA Integrated Gateway UI.
5. provided grants to user
6. click on generate WSDL button . Getting error.
Please help.Hi Anybody Please help.
-
Failure to generate WSDL from web service when use xmlbean
Hi, I have a web service that uses xmlbean generated by schema. The schema from 3rd party is in a separate project since it's used by another web app and ejb project. In wlw103 I have included the schema project in this web service project's Java Build Path. The web service compiles, but when I tried to generate WSDL a Error window shows and says "The WSDL cannot be generated from the web service due to unexpected runtime errors".
The following is the detail. What do I need to do to make the xmlbean available for my web service? Thanks
com.bea.workshop.webservices.core.gen.WebServicesException: weblogic.wsee.tools.jws.build.CompileException: Error compiling web service: C:\workspace\ws\src\myPackage\testWS.java
at com.bea.workshop.webservices.core.compiler.WebServiceCompilerImpl$3.invoke(WebServiceCompilerImpl.java:335)
at com.bea.workshop.webservices.core.compiler.WebServiceCompilerImpl.accessCompiler(WebServiceCompilerImpl.java:390)
at com.bea.workshop.webservices.core.compiler.WebServiceCompilerImpl.compile0(WebServiceCompilerImpl.java:330)
at com.bea.workshop.webservices.core.compiler.WebServiceCompilerImpl.compile(WebServiceCompilerImpl.java:275)
at com.bea.workshop.webservices.ui.actions.GenerateWsdlFromJwsAction.run(GenerateWsdlFromJwsAction.java:169)
at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:256)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)
Caused by: weblogic.wsee.tools.jws.build.CompileException: Error compiling web service: C:\workspace\ws\src\myPackage\testWS.java
at weblogic.wsee.tools.jws.build.JwsCompiler.buildWebServices(JwsCompiler.java:526)
at weblogic.wsee.tools.jws.build.JwsCompiler.compile(JwsCompiler.java:483)
at com.bea.workshop.webservices.core.compiler.WebServiceCompilerImpl$3.invoke(WebServiceCompilerImpl.java:333)
... 46 more
Caused by: weblogic.wsee.tools.WsBuildException: weblogic.wsee.bind.buildtime.BindingException: ERROR ! could not add Xml Schema Type for XmlBean named '\[com.domain.UserDocument\]'. This is completely unexpected and might be caused by missing *.xsb and *.xsd files in the build environment. The building and running of this Service is likely to FAIL.
at weblogic.wsee.tools.jws.jaxrpc.JAXRPCWebServiceInfo.createBindings(JAXRPCWebServiceInfo.java:227)
at weblogic.wsee.tools.jws.wsdl.WsdlBuilder.processImpl(WsdlBuilder.java:43)
at weblogic.wsee.tools.jws.jaxrpc.JAXRPCProcessor.process(JAXRPCProcessor.java:27)
at weblogic.wsee.tools.jws.process.CompositeProcessor.process(CompositeProcessor.java:47)
at weblogic.wsee.tools.jws.build.JwsCompiler.buildWebServices(JwsCompiler.java:522)
... 48 more
Caused by: weblogic.wsee.bind.buildtime.BindingException: ERROR ! could not add Xml Schema Type for XmlBean named '\[com.domain.UserDocument\]'. This is completely unexpected and might be caused by missing *.xsb and *.xsd files in the build environment. The building and running of this Service is likely to FAIL.
at weblogic.wsee.bind.buildtime.internal.SoapAwareJava2Schema.bindAsExplodedTylar(SoapAwareJava2Schema.java:1414)
at weblogic.wsee.bind.buildtime.internal.TylarJ2SBindingsBuilderImpl.createBuildtimeBindings(TylarJ2SBindingsBuilderImpl.java:216)
at weblogic.wsee.tools.jws.jaxrpc.JAXRPCWebServiceInfo.createBindings(JAXRPCWebServiceInfo.java:223)
... 52 moreHI,
I hope this issue can resolved by adding this patch CR349256
Try to contact weblogic support to get more details about this patch.
Regards,
Kal. -
Integration Repository SOA Gateway, not able to generate WSDL
In Oracle R12.1.2, we are trying to generate WSDL for a pl/sql from "Integrated SOA Gateway" responsibility, we are getting the below error, can you help me in overcoming this issue.
SOA Provider Access resulted in exception 'oracle.apps.fnd.soa.util.SOAException: ServiceGenerationError: ServiceGenerationError: Error in Service Generationoracle.jpub.Doit.main([Ljava.lang.String;, java.sql.Connection, oracle.jpub.mesg.AbstractMessages)' when attempting to perform 'GENERATE'. Please contact your System AdministratorHi!
Did you encounter any error?Yes!
>
try givng C:\temp remember temp should have read and write permissions for the oracle applications o/s user(applmgr)Using c:\temp\test.log results in the following error while saving the log setting:
An error has occurred!
For input string: "10001:\temp\test.log"
I can use whatever string I want, but as long as a ":" is included, I get that error.
As for the user permissions. I installed the EBS using the standard Administrator account and this account is a member of Administrators and ora_dba.
Best,
Konrad -
Could not able to generate WSDL file in ID
Hi all,
I am Trying to generate wsdl file in ID->tools->define ws.
in overview the following error is displayed.
<?xml version="1.0" encoding="ISO-8859-1"?>
<err>
Object External Message KCRS_WSDL | http://ehro.eds.com/FRAMEWORK/Common | publishLeaveStatusSoapOut | http://www.ehro.eds.com/xsd/utility not found in Integration Repository
</err>
http://host:port /XISOAPAdapter/MessageServlet?channel=p:s:c is given in the step2 ,and required details in step 3 and 4.
in step5 the above error is seen.
Let me knoe where is the problem.
Thanks,
Srinihi
folow these links
/people/daniel.graversen/blog/2008/04/14/use-proxy-to-inspect-httpsoap-requests
https://weblogs.sdn.sap.com/pub/wlg/1442 [original link is broken] [original link is broken] [original link is broken]
https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_weblog&query=wsdlusingProxy+&adv=false&sortby=cm_rnd_rankvalue
regards
Sandeep
if helpful kindly reward points -
Got error when trying to generate Java proxy jar file for webservice
Hi,
I am having a warning message when trying to generate java proxy jar file on weblogic8.1
webservice test web app, the message is as follows:
"Warning Failed to generate client proxy from WSDL definition for this service.
Prescription Please verify the <types> section of the WSDL."
in the mean time, on weblogic starting terminal, I saw the following exceptions,
C:\DOCUME~1\u252738\LOCALS~1\Temp\wlwproxy37508.jar1533409921\com\ual\www\rcc\cb
t\schema\modifypnr\AlphaLength4Deserializer.java:36: cannot resolve symbol
symbol : class FacetUtils
location: package binding
weblogic.xml.schema.binding.FacetUtils.checkLengthFacet(__typed_obj,4L);
^
C:\DOCUME~1\u252738\LOCALS~1\Temp\wlwproxy37508.jar1533409921\com\ual\www\rcc\cb
t\schema\modifypnr\OSIFieldAnonTypeDeserializer.java:36: cannot resolve symbol
symbol : class FacetUtils
location: package binding
weblogic.xml.schema.binding.FacetUtils.checkMaxLengthFacet(__typed_obj,69L);
^
C:\DOCUME~1\u252738\LOCALS~1\Temp\wlwproxy37508.jar1533409921\com\ual\www\rcc\cb
t\schema\modifypnr\AlphaLength2Deserializer.java:36: cannot resolve symbol
symbol : class FacetUtils
location: package binding
weblogic.xml.schema.binding.FacetUtils.checkLengthFacet(__typed_obj,2L);
^
C:\DOCUME~1\u252738\LOCALS~1\Temp\wlwproxy37508.jar1533409921\com\ual\www\rcc\cb
t\schema\modifypnr\FreeFormAnonTypeDeserializer.java:36: cannot resolve symbol
symbol : class FacetUtils"
Can anybody help me about this issue? I attached WSDL file, also United Airlines
got an enterprise weblogic license deal with BEA, any help will be highly appreciated.
Thanks!!!
Naichen
[ModifyPNRWSContract.wsdl]Hi Naichen,
I was able to successfully run both the autotype and clientgen Ant task, on the
WSDL you provided. The code behind those Ant tasks are pretty much what the WebLogic
Web Services test page run. Are you using WLS 8.1 SP2? If not, you might want
to try with that version.
Regards,
Mike Wooten
"Naichen Liu" <[email protected]> wrote:
>
>
>
Hi,
I am having a warning message when trying to generate java proxy jar
file on weblogic8.1
webservice test web app, the message is as follows:
"Warning Failed to generate client proxy from WSDL definition for this
service.
Prescription Please verify the <types> section of the WSDL."
in the mean time, on weblogic starting terminal, I saw the following
exceptions,
C:\DOCUME~1\u252738\LOCALS~1\Temp\wlwproxy37508.jar1533409921\com\ual\www\rcc\cb
t\schema\modifypnr\AlphaLength4Deserializer.java:36: cannot resolve symbol
symbol : class FacetUtils
location: package binding
weblogic.xml.schema.binding.FacetUtils.checkLengthFacet(__typed_obj,4L);
^
C:\DOCUME~1\u252738\LOCALS~1\Temp\wlwproxy37508.jar1533409921\com\ual\www\rcc\cb
t\schema\modifypnr\OSIFieldAnonTypeDeserializer.java:36: cannot resolve
symbol
symbol : class FacetUtils
location: package binding
weblogic.xml.schema.binding.FacetUtils.checkMaxLengthFacet(__typed_obj,69L);
^
C:\DOCUME~1\u252738\LOCALS~1\Temp\wlwproxy37508.jar1533409921\com\ual\www\rcc\cb
t\schema\modifypnr\AlphaLength2Deserializer.java:36: cannot resolve symbol
symbol : class FacetUtils
location: package binding
weblogic.xml.schema.binding.FacetUtils.checkLengthFacet(__typed_obj,2L);
^
C:\DOCUME~1\u252738\LOCALS~1\Temp\wlwproxy37508.jar1533409921\com\ual\www\rcc\cb
t\schema\modifypnr\FreeFormAnonTypeDeserializer.java:36: cannot resolve
symbol
symbol : class FacetUtils"
Can anybody help me about this issue? I attached WSDL file, also United
Airlines
got an enterprise weblogic license deal with BEA, any help will be highly
appreciated.
Thanks!!!
Naichen -
Xrpcc modeler error when trying to generate stub classes from a WSDL
I'm trying to generate JAX-RPC stub classes (both client and server side) from a WSDL in which one of the message parts references a complexType element defined in the <types> section of the WSDL. Here is my little WSDL document:
<?xml version="1.0" encoding="UTF-8"?>
<definitions name="Book_Def"
targetNamespace="myTypes"
xmlns:tns="myTypes"
xmlns:xsd1="myTypes"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
<types>
<xsd:schema targetNameSpace="myTypes"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:element name="Book" type="xsd1:BookType"/>
<xsd:complexType name="BookType">
<xsd:all>
<xsd:element name="authors" type="xsd:string" maxOccurs="10"/>
<xsd:element name="preface" type="xsd:string"/>
<xsd:element name="price" type="xsd:float"/>
</xsd:all>
</xsd:complexType>
</xsd:schema>
</types>
<message name="runMyPgm">
<part name="book" type="xsd1:Book"/>
</message>
<message name="getPgmResponse">
<part name="result" type="xsd:string"/>
</message>
<portType name="MyPgmIFPortType">
<operation name="runMyPgm">
<input message="tns:runMyPgm"/>
<output message="tns:getPgmResponse"/>
</operation>
</portType>
... Binding stuff
</port>
</service>
</definitions>
I've tried many combinations of defining my complex type and input message and whenever I run xrpcc using this WSDL as input, I get a Error: Modeler error: invalid entity name: Book (in namespace "myTypes"). Sorry if this is a dumb question, but what am I doing wrong in my <types> or <message> definitions to cause this error? I've had some luck generating stubs when the part types are all simple types, but I've not had any luck with getting a <complexType> definition accepted by xrpcc. Thanks in advance for any help you can offer.Yes you can specify type mapping in configuration file and probably this will solve the problem, but I've never tested this approach. Perhaps I'm not advanced user. Actually the serializerFactory and deserializerFactory are a little vague for me:(
-
JWSDP - configuration error in using wscompile.bat to generate WSDL
Hello all,
I am new to JWSDP and am trying to generate a WSDL and jaxrpc mapping for my EJB SEI. I'm using JWSDP 1.4 and my interface has simple String datatypes as arguments. I'm getting the following error when I try to use wscompile.bat:
error: only one configuration file can be specified: config.xml
Usage: wscompile [options] configuration_file
Use "wscompile -help" for a detailed description of options.I'm using the command as follows:
wscompile -cp C:\temp\lib\client.jar;C:\jboss-4.0.2\server\all\lib\jboss-j2ee.jar -gen:server -f:rpcliteral -mapping jaxrpc-mapping.xml config.xml(client.jar contains the interface, and since it extends javax.ejb.EJBObject, I also included jboss-j2ee.jar in the CLASSPATH). My config.xml looks as follows:
<?xml version="1.0" encoding="UTF-8"?>
<configuration xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config">
<service name="MyInterfaceService"
targetNamespace="http://webservice.interfaces.test.com"
typeNamespace="http://webservice.interfaces.test.com"
packageName="com.test.interfaces">
<interface name="com.test.interfaces.MyInterface"/>
</service>
</configuration>What am I doing wrong here? Would really appreciate any help.
Thanks.Apparently for JWSDP, the command needs to be issued as follows:
wscompile -cp "C:\temp\lib\client.jar;C:\jboss-4.0.2\server\all\lib\jboss-j2ee.jar" -gen:server -f:rpc
literal -mapping jaxrpc-mapping.xml config.xml(Notice the quotes around the CLASSPATH)
Hope this helps someone else. -
Error while Generating WSDL File from SAP WSDLGenerator
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at WebServiceDescription.SelectOperation.ShowUDOsList(String sessionID)
at WebServiceDescription.SelectOperation..ctor(String sessionID)
at WebServiceDescription.WsdlServicesGenerator.ShowOptions()
at WebServiceDescription.Form1.btCreateWsdl_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3082 (QFE.050727-3000)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
WsdlServicesGenerator
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/SAP/SAP%20Business%20One%20Web%20Services/WsdlServicesGenerator/WsdlServicesGenerator.exe
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3082 (QFE.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
System.Web.Services
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Web.Services/2.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
axh7tjvl
Assembly Version: 1.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
o_2nbqv_
Assembly Version: 1.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
I am facing problem While Generating WSDL File from WSDL Geerator which is provided by SAP Business One
If any body has resolved this. Please help Me...!
Thanks
MritunjayHi.
We've seen that error too few times.
We downloaded the sourcecode for the wdsl generator and discovered,
that in our case, it was because we had no user defined objects.
Its actually a bug as far as I can see, where the wdsl generator tries
to enumerate a empty recordset, and crashes.
Regards
Jørgen T.
Maybe you are looking for
-
Ora -3113 error in the alert log
Hi , We are getting ORA-3113 error in the alertlog and i pasted below alert log entry. VERSION INFORMATION: TNS for Linux: Version 11.1.0.7.0 - Production Unix Domain Socket IPC NT Protocol Adaptor for Linux: Version 11.1.0.7.0 - Production Oracle Be
-
FileVault for a 2-partition system
My MacBook disk has 2 main partitions: OSX and Data. Lion is installed to the OSX partition and my user account was updated to point to its Home directory on the Data partition. My expectation is that when I enabled FileVault, only the OSX partiti
-
Inventory and APO scenario. Please Help!
I have requirement to produce a report with inventory data, APO data and Budget data all on one report. Also, the budget data is sourced from a flat file. How can I make this work? My initial thought was to put report off of a Multiprovider that was
-
Routing Entry error during Inspection Plan creation in BAPI
Hi, A Material has an task list created manually thorgh QP01. Am trying to created another through BAPI BAPI_INSPECTIONPLAN_CREATE , changed the group counter to 2, but left the Task list blank. The change number field is also BLANK. Other data are
-
I have now downloaded Firefox as my default browser and when downloading I asked for my favourites from Internet Explorer to be exported to Firefox. I cannot find anywhere on the Firefox site that allows me to open my favourites. Can you please advis