Generated wsdl in eclipse [help]
my server side code is return hashtable to client thru webservice.
Below is some part of my WSDL generated.
<xs:element name="Subscription" type="tns:Subscription" />
<xs:element name="SubscriptionResponse" type="tns:SubscriptionResponse" />
- <xs:complexType name="Subscription">
- <xs:sequence>
<xs:element minOccurs="0" name="customerID" type="xs:anyType" />
</xs:sequence>
</xs:complexType>
- <xs:complexType name="SubscriptionResponse">
- <xs:sequence>
<xs:element minOccurs="0" name="return" type="tns:hashtable" />
</xs:sequence>
</xs:complexType>
- <xs:complexType name="hashtable">
- <xs:complexContent>
- <xs:extension base="tns:dictionary">
<xs:sequence />
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType abstract="true" name="dictionary" />
</xs:schema>
</types>i dun understand why i get this <xs:extension base="tns:dictionary">, can anyone clarify on this to me pls....
it's java.util.Dictionary;
Similar Messages
-
Problem with generating WSDL from ABAP
Hi all
I have encountered a problem.I created a WSDL from a ABAP program,but in the ABAP function module what it does is it inserts value onto a transparent table from a table which let me specify as a virtual table.So after generating the wsdl i am surprised to see the virtual table has come in the output part .I am unable to make out why this happened.
i am mentioning below the ABAP code which inserts value on to a transparent table from a virtual table
Code-Function module-smlg_modify
<u>virtual table Definition</u>
"table with items for insertion
DATA INS_TAB LIKE RZLLITAB OCCURS 0 WITH HEADER LINE.
DESCRIBE TABLE MODIFICATIONS LINES ITEMS.
LOOP AT MODIFICATIONS.
MODIFICATIONS-GROUPTYPE = GROUPTYPE.
CASE MODIFICATIONS-MODIFICATN.
WHEN 'I'. "insertion of an item
INS_TAB = MODIFICATIONS.
APPEND INS_TAB.
END LOOP
DESCRIBE TABLE INS_TAB LINES ITEMS.
IF ITEMS > 0.
INSERT RZLLITAB FROM TABLE INS_TAB-->(one i mentioned as virtual.)
ENDIF.
In such a case how comes the virtual comes as the output in wsdl
I am mentioning below the the wsdl
<----
>
<?xml version="1.0" encoding="ASCII"?>
<wsdl:definitions xmlns:ctc="http://sap.com/ctc" xmlns:ctc-bapi="http://www.sap.com/ctc/abapprovider" xmlns:ctc_ref="urn:example/encoded" xmlns:ctclib="http://sap.com/ctc/schema/lib" xmlns:plnk="http://schema.xmlsoap.org/ws/2003/05/partner-link" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://sap.com/ctc/services" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="SMLG_MODIFYServiceDefinition" targetNamespace="http://sap.com/ctc/services">
<wsdl:types>
<xsd:schema xmlns:tns="http://sap.com/ctc/services" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://sap.com/ctc/services">
<xsd:element name="GROUPTYPE" type="xsd:string"/>
<xsd:element name="SET_LOCK" type="xsd:string"/>
<xsd:complexType name="ERFC_MODIFICATIONS">
<xsd:sequence>
<xsd:element name="CLASSNUM" type="xsd:int"/>
<xsd:element name="CLASSNAME" type="xsd:string"/>
<xsd:element name="GROUPTYPE" type="xsd:string"/>
<xsd:element name="TIMERERD" type="xsd:int"/>
<xsd:element name="LOGRERD" type="xsd:int"/>
<xsd:element name="FAVTYPE" type="xsd:string"/>
<xsd:element name="MODIFICATN" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="ERFC_MODIFICATIONS" type="tns:ERFC_MODIFICATIONS"/>
<xsd:element name="CLASSNUM" type="xsd:int"/>
<xsd:element name="CLASSNAME" type="xsd:string"/>
<xsd:element name="GROUPTYPE" type="xsd:string"/>
<xsd:element name="TIMERERD" type="xsd:int"/>
<xsd:element name="LOGRERD" type="xsd:int"/>
<xsd:element name="FAVTYPE" type="xsd:string"/>
<xsd:element name="MODIFICATN" type="xsd:string"/>
</xsd:schema>
</wsdl:types>
<wsdl:message name="SMLG_MODIFYInput">
<wsdl:part name="GROUPTYPE" type="xsd:string"/>
<wsdl:part name="SET_LOCK" type="xsd:string"/>
</wsdl:message>
<wsdl:message name="SMLG_MODIFYOutput">
<wsdl:part name="ERFC_MODIFICATIONS" type="tns:ERFC_MODIFICATIONS"/>
<wsdl:part name="CLASSNUM" type="xsd:int"/>
<wsdl:part name="CLASSNAME" type="xsd:string"/>
<wsdl:part name="GROUPTYPE" type="xsd:string"/>
<wsdl:part name="TIMERERD" type="xsd:int"/>
<wsdl:part name="LOGRERD" type="xsd:int"/>
<wsdl:part name="FAVTYPE" type="xsd:string"/>
<wsdl:part name="MODIFICATN" type="xsd:string"/>
</wsdl:message>
<wsdl:portType name="SMLG_MODIFYPT">
<wsdl:operation name="SMLG_MODIFYOperation">
<wsdl:input message="SMLG_MODIFYInput"/>
<wsdl:output message="SMLG_MODIFYOutput"/>
<wsdl:fault message="ctclib:BAPIException" name="BAPIException"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="SMLG_MODIFYBinding" type="SMLG_MODIFYPT">
<ctc:binding transport="com.sap.mw.jco"/>
<wsdl:operation name="SMLG_MODIFYOperation">
<ctc-bapi:function name="SMLG_MODIFY"/>
<wsdl:input>
<ctc:body encodingStyle="ctc:SCHEMA2ABAP">
<ctc-bapi:partbinding name="GROUPTYPE">
<field elementname="GROUPTYPE">
<name>GROUPTYPE</name>
<type>CHAR</type>
</field>
</ctc-bapi:partbinding>
<ctc-bapi:partbinding name="SET_LOCK">
<field elementname="SET_LOCK">
<name>SET_LOCK</name>
<type>CHAR</type>
</field>
</ctc-bapi:partbinding>
</ctc:body>
</wsdl:input>
<wsdl:output>
<ctc:body encodingStyle="ctc:SCHEMA2ABAP">
<ctc-bapi:partbinding name="ERFC_MODIFICATIONS">
<table elementname="ERFC_MODIFICATIONS" jcoName="ERFC_MODIFICATIONS">
<structure elementname="RZLLIMODGP" jcotype="RZLLIMODGP">
<field elementname="CLASSNUM">
<name>CLASSNUM</name>
<type>NUMC</type>
</field>
<field elementname="CLASSNAME">
<name>CLASSNAME</name>
<type>CHAR</type>
</field>
<field elementname="GROUPTYPE">
<name>GROUPTYPE</name>
<type>CHAR</type>
</field>
<field elementname="TIMERERD">
<name>TIMERERD</name>
<type>NUMC</type>
</field>
<field elementname="LOGRERD">
<name>LOGRERD</name>
<type>NUMC</type>
</field>
<field elementname="FAVTYPE">
<name>FAVTYPE</name>
<type>CHAR</type>
</field>
<field elementname="MODIFICATN">
<name>MODIFICATN</name>
<type>CHAR</type>
</field>
</structure>
</table>
</ctc-bapi:partbinding>
<ctc-bapi:partbinding name="CLASSNUM">
<field elementname="CLASSNUM">
<name>CLASSNUM</name>
<type>NUMC</type>
</field>
</ctc-bapi:partbinding>
<ctc-bapi:partbinding name="CLASSNAME">
<field elementname="CLASSNAME">
<name>CLASSNAME</name>
<type>CHAR</type>
</field>
</ctc-bapi:partbinding>
<ctc-bapi:partbinding name="GROUPTYPE">
<field elementname="GROUPTYPE">
<name>GROUPTYPE</name>
<type>CHAR</type>
</field>
</ctc-bapi:partbinding>
<ctc-bapi:partbinding name="TIMERERD">
<field elementname="TIMERERD">
<name>TIMERERD</name>
<type>NUMC</type>
</field>
</ctc-bapi:partbinding>
<ctc-bapi:partbinding name="LOGRERD">
<field elementname="LOGRERD">
<name>LOGRERD</name>
<type>NUMC</type>
</field>
</ctc-bapi:partbinding>
<ctc-bapi:partbinding name="FAVTYPE">
<field elementname="FAVTYPE">
<name>FAVTYPE</name>
<type>CHAR</type>
</field>
</ctc-bapi:partbinding>
<ctc-bapi:partbinding name="MODIFICATN">
<field elementname="MODIFICATN">
<name>MODIFICATN</name>
<type>CHAR</type>
</field>
</ctc-bapi:partbinding>
</ctc:body>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="SMLG_MODIFYService">
<wsdl:port binding="SMLG_MODIFYBinding" name="SMLG_MODIFYServicePort"/>
</wsdl:service>
</wsdl:definitions>
>
My purpose is to create a .cproc file which will pass values to this wsdl file.I dont know how to pass as the table which the function module accepts as input is output in wsdl.so i am not aware how to pass value.Kindly help me out how to create a .cproc file for it
Thanks
NeetaHello Anton,
where on the abap-server I can find the generated wsdl?
I have downloaded the wsdl to eclipse 3.3 and can call the webserrvice successfull.
But when I try o call the webservice with <netweaver-server>/wsnavigator, I can input the data-fields, but the request answer is that the web-service is not found on the given domain.
So I want manipulate the domain in the wsdl.
Best regards
Oliver Prodinger -
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. -
Hi,
I am creating a web service which has a method that communicates with the Data access layer (classes that have database connectivity).
While generating WSDL, I am getting the following error in IBM WSAD:
"IWAB0132W Boolean property accessor getBoolean in bean Field begins with "get". Boolean getter methods should begin wth "is"."
This is the error inspite of the fact that there is no boolean data member involved in the code.
Kindly reply urgently with the possible solutions if anyone of u has come across such an error.
Thanks in advance
KaranHi,
While further investigating the problem, I found out that if i try to return a Vector from my Web Service the error message is thrown, otherwise on returning any other object there is no error.
I tried to return an array of type Object, but same error was reported. I am using IBM WSAD 5.1
Please help asap
Thanks
Karan -
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.
-
How to generate wsdl url in Siebel 8.1
Dear Gurus,
Please help, how to generate wsdl url from inbound web services in Siebel 8.1
Regards,
EldinHi Raj,
I've tried, this url did'nt recognize as a web service.
For example, in Oracle E-Business Suite ( Integration Repository ) there's a button to generate wsdl url. The wsdl url is http://servername/webservice/pls/test?WSDL.
So is it possible we generate wsdl url like in E-Business Suite ? Or there's something we need to configure so Siebel wsdl url will recognize as web service in E-Business Suite.
Thanks for your response. -
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 -
How can i include Services and Bindung in a generated WSDL file?
Hi,
i what to use a generated wsdl file from an erp system, to build a web service client with WSDL2Java (org.apache.axis.wsdl.WSDL2Java).
I noticed, that services an bindings are missing, also a policy is included.
How can i include services and bindings in the wsdl and exclude the policy?
Thanks!well, I assume you have SOAMANAGER.
choose your service & "Apply Selection" (very useless button btw)
select a binding in the dropdown box or create on if you do not have one yet
Click button "Show WSDL options" (actually they do not really look like buttons in WD; call it yellow blot)
Some extra config area is thrown onto your screen (without any sense for usability or design); Change the radio button for WSDL format from "WS policy" to "Standard"; make sure the first radio button group is on "True" for monolithic
Now click the link (why is this a link and no blot?) called "Display selected bindings WSDL URL"
an extra text field is again thrown onto your screen somwhere between the dropdown and the WSDL option config area containing an URL (get out your glasses if you don't see the sub-10pt-letters)
hope it helps,
anton -
How do I import Eclipse Help project/pages?
I have an Eclipse Help project with about 100 html topic pages that I created in Eclipse and organized in various folders. However, the editor in Eclipse that I am using is not very advanced and it's quite tedious to manage the help project and cannot easily create other help formats. I want to try RoboHelp 8 as the authoring environment and have it output Eclipse Help (which I hear it can do).
However, I can't find a way to easily import my existing Eclipse Help pages and folder structure. Is there a way to do this without breaking anything (like images or css) or having to go to each page and do some fixing up?
Ideally, I would like some kind of two-way transfer so I can share the project with others on my team using Eclipse to edit the topics; but I realize that may be too much to ask for.Peter, thank you for your reply.
I went ahead and re-created the folder structure and imported the topic pages into each folder. This part seems to work fine. However, I have a few issues:
1) When I double-click on the topic pages they open in Notepad rather than the built-in editor. If I right-click on a topic and choose Edit With Design View, that works, but is quite tedious to do for every page. I also notice that if I make a change to the page in design view and save it, from then on it opens in Design View.
I see that the files that open in Design View have the following markup added:
<meta name="generator" content="Adobe RoboHelp 8" />
Is there a way to have these .html pages always open in Design View by default, at least for this project?
2) I used the instructions here to create Eclipse Help: http://blogs.adobe.com/techcomm/2009/12/how_to_generate_eclipse_help_from_robohelp.html
When I bring up the pages in Eclipse, the ones that I edited using the Design View seem OK (so far), however the ones that were imported from original Eclipse Help format now show this error when I try to view them:
An error occured while processing the requested document:
org.xml.sax.SAXParseException: Content is not allowed in prolog.
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source)
at org.eclipse.help.internal.dynamic.DocumentReader.read(DocumentReader.java:56)
at org.eclipse.help.internal.dynamic.XMLProcessor.process(XMLProcessor.java:49)
at org.eclipse.help.internal.xhtml.DynamicXHTMLProcessor.process(DynamicXHTMLProcessor.java: 66)
at org.eclipse.help.internal.webapp.servlet.DynamicXHTMLFilter$1.close(DynamicXHTMLFilter.ja va:81)
at java.io.FilterOutputStream.close(Unknown Source)
at org.eclipse.help.internal.webapp.servlet.FilterHTMLHeadAndBodyOutputStream.close(FilterHT MLHeadAndBodyOutputStream.java:311)
Any idea why I am getting this error? I am using the EclipseHelp.jsx that came with RoboHelp 8.0.0.203 (incidentally, the "latest" script file pointed to in the link above actually has an older copyright date so it would not seem that it's the latest). Would solving #1 solve this issue?
3) I set a default topic for my books, which works fine in Web Help. But when I try to view the book in Eclipse, it displays a Contents list instead of the default topic.
Any idea how to fix this?
Thanks in advance,
Dan -
RoboHelp 9, Eclipse Help and Chrome
Dear All
I'm currently evaluating TCS 3.5 and RoboHelp 9. I want to generate Eclipse Help, which I've been able to do and the output looks amazing in IE. Unfortunately, it doesn't seem to work in Chrome :-(
I would be very grateful for any ideas or help please to use RoboHelp 9 to produce Chrome-friendly Eclipse Help.
Thank you
JennyMaybe this Yahoo Group can help you.
http://groups.yahoo.com/group/eclipse_tw/
See www.grainge.org for RoboHelp and Authoring tips
@petergrainge -
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. -
Hi,
I have the following problem. I have Oracle AS 10.1.3.3 installed and I am trying to generate the WSDL from WSDD file, which is a part of an application deployed on the server. The server was able to generate WSDL for a Hello World WebService, but if I try to use for example my own exceptions extended from Exception, I got the following message:
AXIS error
Sorry, something seems to have gone wrong... here are the details:
Fault - ; nested exception is:
java.lang.ClassCastException: com.ibm.wsdl.extensions.soap.SOAPFaultImpl
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: java.lang.ClassCastException: com.ibm.wsdl.extensions.soap.SOAPFaultImpl
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}hostname:marvin.ba.dynatech.sk
I am little bit confused, because my previous 10gR2 AS generated WSDL from the same WSDD without any problems.
Can anybody help me?
Thanx
MartinJose, you say you can't find much about Flex calling remote
objects. Really? There are many, many such resources.
But maybe you mean that refer to this badversion error. Doing
a little digging, I see references to issues related to SSL/HTTPS.
Is that a part of what you're doing? Check out these.
http://www.adobeforums.com/webx/.59b4dc44
http://www.nabble.com/SSL-Https-communication-between-swf-and-data-service---life-cycle-is -failed-td18922452.html
Here also is an entry where someone writes about calling a
CFC from Flex, and in a comment he mentions the badversion error.
Though he never mentions resolving it specifically, he seems to
have gotten things working, so maybe among the few things discussed
is a solution for you.
http://www.flashcomguru.com/index.cfm/2006/11/11/flex2remoting
I also see one that suggests that the badversion error is
just a generic error reflecting another problem in the connection.
While it discusses AMFPHP, which is an open alternative to the
FlashRemoting built into CF, it may still offer insight:
http://www.5etdemi.com/blog/archives/2005/06/i-did-it-i-killed-netconnectioncallbadversion
If none of them are it, since it seems maybe you're having
difficulty calling ANY CFC component from AIR/Flex, check out any
of these examples to see if you can get them to run:
http://livedocs.adobe.com/flex/3/html/help.html?content=data_access_4.html
http://tutorial519.easycfm.com/
http://www.cftips.net/post.cfm/flex-data-grid-with-coldfusion-flash-remoting-using-cfc
Just be careful as you're looking at resources for Flex
examples: some are for 1.5, some for 2, some for 3.
Hope that helps. -
Workshop generated WSDL.
In short when I load a WSDL that Workshop generates into XMLSpy , SoapScope , and
Cape Clear Studio 4 the file shows up as invalid.
So when I tried to generate a WSDL with Cape Clear Studio 4 using the same input
and out put
parameters for the previously generated wsdl file from WorkShop, WorkShop compiles
the schema but the says method blah blah cannot be executed.
Is this a bug with Workshop or just me not doing something correctly.Here is a big one for you.
basically I took a WSDL that web logic generated. Put it in another wsdl tool
and
added a header to it. I also renamed the service and port binding too.
Workshop did compile that and produce a web service for it.
I do not know if I am the cause of the error. In the attached
WSDL you can see that I added to header messages.
<?xml version="1.0" encoding="UTF-8"?>
<definitions
targetNamespace="http://www.openuri.org/"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:conv="http://www.openuri.org/2002/04/soap/conversation/"
xmlns:cw="http://www.openuri.org/2002/04/wsdl/conversation/"
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
xmlns:jms="http://www.openuri.org/2002/04/wsdl/jms/"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
xmlns:s="http://www.w3.org/2001/XMLSchema"
xmlns:s0="http://www.openuri.org/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsd1="http://www.openuri.org/.xsd1">
<types>
<s:schema
elementFormDefault="qualified"
targetNamespace="http://www.openuri.org/"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:conv="http://www.openuri.org/2002/04/soap/conversation/"
xmlns:cw="http://www.openuri.org/2002/04/wsdl/conversation/"
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
xmlns:jms="http://www.openuri.org/2002/04/wsdl/jms/"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
xmlns:s="http://www.w3.org/2001/XMLSchema"
xmlns:s0="http://www.openuri.org/"
xmlns:sea="http://testing/searchparameters"
xmlns:sea2="http://testing/searchresults"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
<s:import namespace="http://testing/searchparameters"/>
<s:import namespace="http://testing/searchresults"/>
<s:element name="startQuery">
<s:complexType>
<s:sequence>
<s:element nillable="true" ref="sea:SearchParameters"/>
</s:sequence>
</s:complexType>
</s:element>
<s:element name="startQueryResponse">
<s:complexType>
<s:sequence>
<s:element name="startQueryResult" type="s:boolean"/>
</s:sequence>
</s:complexType>
</s:element>
<s:element name="getResults">
<s:complexType>
<s:sequence/>
</s:complexType>
</s:element>
<s:element name="getResultsResponse">
<s:complexType>
<s:sequence>
<s:element nillable="true" ref="sea2:search_results"/>
</s:sequence>
</s:complexType>
</s:element>
<s:element name="isQueryDone">
<s:complexType>
<s:sequence/>
</s:complexType>
</s:element>
<s:element name="isQueryDoneResponse">
<s:complexType>
<s:sequence>
<s:element name="isQueryDoneResult" type="s:boolean"/>
</s:sequence>
</s:complexType>
</s:element>
</s:schema>
<xs:schema
attributeFormDefault="unqualified"
elementFormDefault="qualified"
targetNamespace="http://testing/searchparameters"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:conv="http://www.openuri.org/2002/04/soap/conversation/"
xmlns:cw="http://www.openuri.org/2002/04/wsdl/conversation/"
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
xmlns:jms="http://www.openuri.org/2002/04/wsdl/jms/"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
xmlns:parm="http://testing/searchparameters"
xmlns:s="http://www.w3.org/2001/XMLSchema"
xmlns:s0="http://www.openuri.org/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="SearchParameters">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" name="LibraryName" type="xs:string"/>
<xs:element maxOccurs="unbounded" name="Fields" nillable="true">
<xs:complexType>
<xs:sequence>
<xs:element name="FieldName" type="xs:string"/>
<xs:element name="Query" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="DocumentTextQuery" type="xs:string"/>
<xs:element default="BOOLEAN" name="QueryMode">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="PATTERN"/>
<xs:enumeration value="CONCEPT"/>
<xs:enumeration value="BOOLEAN"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element default="3" minOccurs="0" name="WordExpansion">
<xs:simpleType>
<xs:restriction base="xs:int">
<xs:minInclusive value="1"/>
<xs:maxInclusive value="9"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element minOccurs="0" name="FromDate" type="parm:searchdate"/>
<xs:element minOccurs="0" name="ToDate" type="parm:searchdate"/>
<xs:element minOccurs="0" name="RetrievalLimits">
<xs:complexType>
<xs:sequence>
<xs:element default="1000" minOccurs="0" name="MaxNumberOfDocs">
<xs:simpleType>
<xs:restriction base="xs:int">
<xs:minInclusive value="1"/>
<xs:maxInclusive value="1000"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element default="0" minOccurs="0" name="MinCoarseGrainRank">
<xs:simpleType>
<xs:restriction base="xs:int">
<xs:minInclusive value="0"/>
<xs:maxInclusive value="99"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element minOccurs="0" name="NaturalLanguageSettings">
<xs:complexType>
<xs:sequence>
<xs:element default="3" minOccurs="0" name="WordExpansionLevel">
<xs:simpleType>
<xs:restriction base="xs:int">
<xs:minInclusive value="1"/>
<xs:maxInclusive value="9"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element default="APROXIMATE" minOccurs="0"
name="ExactPhraseMatching">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="PRECISE"/>
<xs:enumeration value="APROXIMATE"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element minOccurs="0" name="ExpansionLimits">
<xs:complexType>
<xs:sequence>
<xs:element default="100" minOccurs="0"
name="NumberofWildcardWords">
<xs:simpleType>
<xs:restriction base="xs:int">
<xs:minInclusive value="1"/>
<xs:maxInclusive value="1000"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element default="25" minOccurs="0"
name="NumberofPatternMatchingWords">
<xs:simpleType>
<xs:restriction base="xs:int">
<xs:minInclusive value="1"/>
<xs:maxInclusive value="1000"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:simpleType name="searchdate">
<xs:annotation>
<xs:documentation>date format is YYYY-MM-DD or *</xs:documentation>
</xs:annotation>
<xs:union memberTypes="xs:date">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="*"/>
</xs:restriction>
</xs:simpleType>
</xs:union>
</xs:simpleType>
</xs:schema>
<xs:schema
attributeFormDefault="unqualified"
elementFormDefault="qualified"
targetNamespace="http://testing/searchresults"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:conv="http://www.openuri.org/2002/04/soap/conversation/"
xmlns:cw="http://www.openuri.org/2002/04/wsdl/conversation/"
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
xmlns:jms="http://www.openuri.org/2002/04/wsdl/jms/"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
xmlns:rslt="http://testing/searchresults"
xmlns:s="http://www.w3.org/2001/XMLSchema"
xmlns:s0="http://www.openuri.org/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="search_results">
<xs:annotation>
<xs:documentation>This represents the returnable items in
a search.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="number_of_documents" type="xs:int"/>
<xs:element maxOccurs="unbounded" minOccurs="0" name="documents">
<xs:complexType>
<xs:sequence>
<xs:element name="document_id" type="xs:string"/>
<xs:element name="title" type="xs:string"/>
<xs:element name="rank" type="xs:int"/>
<xs:element minOccurs="0" name="pub_name"
type="xs:string"/>
<xs:element minOccurs="0" name="source" type="xs:string"/>
<xs:element name="origdate" type="xs:date"/>
<xs:element minOccurs="0" name="origdtg" type="xs:date"/>
<xs:element minOccurs="0" name="input_id"
type="xs:string"/>
<xs:element minOccurs="0" name="from" type="xs:string"/>
<xs:element name="library_name" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
<s:schema
elementFormDefault="qualified"
targetNamespace="http://www.openuri.org/2002/04/soap/conversation/"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:conv="http://www.openuri.org/2002/04/soap/conversation/"
xmlns:cw="http://www.openuri.org/2002/04/wsdl/conversation/"
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
xmlns:jms="http://www.openuri.org/2002/04/wsdl/jms/"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
xmlns:s="http://www.w3.org/2001/XMLSchema"
xmlns:s0="http://www.openuri.org/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
<s:element name="StartHeader" type="conv:StartHeader"/>
<s:element name="ContinueHeader" type="conv:ContinueHeader"/>
<s:element name="CallbackHeader" type="conv:CallbackHeader"/>
<s:complexType name="StartHeader">
<s:sequence>
<s:element maxOccurs="1" minOccurs="0" name="conversationID"
type="s:string"/>
<s:element maxOccurs="1" minOccurs="0" name="callbackLocation"
type="s:string"/>
</s:sequence>
</s:complexType>
<s:complexType name="ContinueHeader">
<s:sequence>
<s:element maxOccurs="1" minOccurs="1" name="conversationID"
type="s:string"/>
</s:sequence>
</s:complexType>
<s:complexType name="CallbackHeader">
<s:sequence>
<s:element maxOccurs="1" minOccurs="1" name="conversationID"
type="s:string"/>
</s:sequence>
</s:complexType>
</s:schema>
<xsd:schema
targetNamespace="http://www.openuri.org/.xsd1"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsd1="http://www.openuri.org/.xsd1">
<s:complexType name="Authentication">
<s:sequence>
<s:element maxOccurs="1" minOccurs="1" name="username" type="s:string"/>
<s:element maxOccurs="1" minOccurs="1" name="password" type="s:string"/>
</s:sequence>
</s:complexType>
</xsd:schema>
</types>
<message name="getResultsSoapOut">
<part element="s0:getResultsResponse" name="parameters"/>
</message>
<message name="getResultsSoapIn">
<part element="s0:getResults" name="parameters"/>
</message>
<message name="startQuerySoapIn">
<part element="s0:startQuery" name="parameters"/>
</message>
<message name="StartHeader_literal">
<part element="conv:StartHeader" name="StartHeader"/>
</message>
<message name="isQueryDoneSoapOut">
<part element="s0:isQueryDoneResponse" name="parameters"/>
</message>
<message name="ContinueHeader_literal">
<part element="conv:ContinueHeader" name="ContinueHeader"/>
</message>
<message name="Authentication">
<part name="AuthHeader" type="xsd1:Authentication"/>
</message>
<message name="isQueryDoneSoapIn">
<part element="s0:isQueryDone" name="parameters"/>
</message>
<message name="startQuerySoapOut">
<part element="s0:startQueryResponse" name="parameters"/>
</message>
<message name="getResultsRequest"> </message>
<portType name="ExecuteQuerySoap">
<operation name="startQuery">
<input message="s0:startQuerySoapIn"/>
<output message="s0:startQuerySoapOut"/>
</operation>
<operation name="getResults">
<input message="s0:getResultsRequest"/>
<output message="s0:getResultsSoapOut"/>
</operation>
<operation name="isQueryDone">
<input message="s0:isQueryDoneSoapIn"/>
<output message="s0:isQueryDoneSoapOut"/>
</operation>
</portType>
<binding name="TestBinding" type="s0:ExecuteQuerySoap">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="startQuery">
<soap:operation soapAction="startQuery" style="document"/>
<input>
<soap:body use="literal"/>
<soap:header
encodingStyle=""
message="s0:StartHeader_literal"
part="StartHeader"
use="literal"> </soap:header>
<soap:header
encodingStyle=""
message="s0:Authentication"
part="AuthHeader"
use="literal"> </soap:header>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
<operation name="getResults">
<soap:operation soapAction="getResults" style="document"/>
<input>
<soap:body use="literal"/>
<soap:header
encodingStyle=""
message="s0:ContinueHeader_literal"
part="ContinueHeader"
use="literal"> </soap:header>
<soap:header
encodingStyle=""
message="s0:Authentication"
part="AuthHeader"
use="literal"> </soap:header>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
<operation name="isQueryDone">
<soap:operation soapAction="isQueryDone" style="document"/>
<input>
<soap:body use="literal"/>
<soap:header
encodingStyle=""
message="s0:ContinueHeader_literal"
part="ContinueHeader"
use="literal"> </soap:header>
<soap:header
encodingStyle=""
message="s0:Authentication"
part="AuthHeader"
use="literal"> </soap:header>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
</binding>
<service name="ExecuteQuerySoap">
<port binding="s0:TestBinding" name="asdasdasdasd">
<soap:address location="http://localhost:8000/ccx/ExecuteQuerySoap"/>
</port>
</service>
</definitions>
and here is the test result from the workshop webservices test screen/console.
here is the start query call.
<SOAP-ENV:Envelope xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<startQuery xmlns="http://www.openuri.org/">
<SearchParameters>
<LibraryName>
<String>string</String>
</LibraryName>
<Fields>
<Fields>
<FieldName>string</FieldName>
<Query>string</Query>
</Fields>
</Fields>
<DocumentTextQuery>string</DocumentTextQuery>
<QueryMode>string</QueryMode>
<WordExpansion>3</WordExpansion>
<RetrievalLimits>
<MaxNumberOfDocs>3</MaxNumberOfDocs>
<MinCoarseGrainRank>3</MinCoarseGrainRank>
</RetrievalLimits>
<NaturalLanguageSettings>
<WordExpansionLevel>3</WordExpansionLevel>
<ExactPhraseMatching>string</ExactPhraseMatching>
<ExpansionLimits>
<NumberofWildcardWords>3</NumberofWildcardWords>
<NumberofPatternMatchingWords>3</NumberofPatternMatchingWords>
</ExpansionLimits>
</NaturalLanguageSettings>
</SearchParameters>
</startQuery>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
here is the error.
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<SOAP-ENV:Fault>
<faultcode xmlns:fc="http://www.bea.com/2003/04/jwFaultCode/">fc:JWSError</faultcode>
<faultstring>
Error deserializing arguments.
Unrecognized element SearchParameters@http://www.openuri.org/ - expected SearchParameters@http://testing/searchparameters
</faultstring>
etc.........
So what am I doing wrong.
"Raj Alagumalai" <[email protected]> wrote:
Tim,
Can you attach the generated WSDL and the errors displayed.
Also can you verify the build number from the WebLogic Workshop IDE.
The build information can be obtained from Help -> About WebLogic Workshop
The build number for the GA release is Version 8.1 Build ( 2003.0710.190003)
Regards,
Raj Alagumalai
Backline Workshop Support
"Tim Bounds" <[email protected]> wrote in message
news:[email protected]...
In short when I load a WSDL that Workshop generates into XMLSpy ,SoapScope , and
Cape Clear Studio 4 the file shows up as invalid.
So when I tried to generate a WSDL with Cape Clear Studio 4 using thesame
input
and out put
parameters for the previously generated wsdl file from WorkShop, WorkShopcompiles
the schema but the says method blah blah cannot be executed.
Is this a bug with Workshop or just me not doing something correctly. -
Problems to generate WSDL file
Hello to all,
I am adapting the sample ( /xws-security/samples/simple) to develop my service. When I compile the file WSDL no is adapted with my changes. I think that the problems is in build.xml, in gen-service target where execute wscompile to generate WSDL, but I do not know the solution.
I hope that somebody can help me.
thanks to all,
Antonio.At least I don't have a clue about ABAP Proxy.
You are pretty much on your own unless someone
else has tried it.
Preston
>>> On Tuesday, August 03, 2010 at 8:26 AM,
pawelnowicki<[email protected]> wrote:
> Hi,
>
> For our customer we try to bind SAP with GW Calendar using GW Web
> Services. We tried to generate ABAP Proxy from groupwise.wsdl file but
> there are problems: GW uses recursive data structures what ABAP Proxy
> can not use. Is there any simple solution to this problem?
>
> Best regards
> Pawel -
Difference in generated WSDL between Weblogic 10.3.3 and JBoss 5.1
Hi all,
We have developed an web service based application using JAX-WS with WS-Security enabled in it. We followed below link for the implementation of WS-Security,
[http://www.ibm.com/developerworks/java/library/j-jws10/index.html]
And we have deployed the application in JBoss 5.1, tested it using SOAP UI passing the request to the Core application. We got the expected result.
When I try to deploy the application in weblogic 10.3.3, it is getting deployed and we are unable to pass the user credentials to it and hence the core application rejects the request since the username/password is not supplied.
I want to know how the web service application with WS-Security enabled can be deploy in Weblogic 10.3.3? Any documentation would be a great help.
And also we found that the creation of WSDL from JBoss 5.1 & Weblogic differ. We have used a WS-policy also into this, the WSDL generated by JBoss contains the information of the WS-policy we added.
But the generated WSDL from Weblogic 10.3.3 is missing those information!
Any help would be greatly appreciated. Thanks in advance.
Only difference I see between the two generated WSDL is that,
For Weblogic, RI's version is Oracle JAX-WS 2.1.5.
For JBoss 5.1, it is, RI's version is JAX-WS RI 2.2.3-b01-
Will this have an impact on the generated WSDL?
Generated WSDL from JBoss:
<Changed the company name/product name>
<?xml version="1.0" encoding="UTF-8" ?>
- <!-- Published by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is JAX-WS RI 2.2.3-b01-.
-->
- <!-- Generated by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is JAX-WS RI 2.2.3-b01-.
-->
- <definitions xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsp="http://www.w3.org/ns/ws-policy" xmlns:wsp1_2="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://company.com/WARName" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://company.com/WARName" name="ProductWebServicesImplService">
- <wsp1_2:Policy xmlns:sp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702" wsu:Id="UsernameToken">
- <sp:SupportingTokens>
- <wsp1_2:Policy>
<sp:UsernameToken sp:IncludeToken=".../IncludeToken/AlwaysToRecipient" />
</wsp1_2:Policy>
</sp:SupportingTokens>
</wsp1_2:Policy>
- <types>
- <xsd:schema>
<xsd:import namespace="http://company.com/WARName" schemaLocation="http://localhost:8080/WARName/services?xsd=1" />
</xsd:schema>
- <xsd:schema>
<xsd:import namespace="http://jaxb.dev.java.net/array" schemaLocation="http://localhost:8080/WARName/services?xsd=2" />
</xsd:schema>
</types>
- <message name="CreateIndividualCustomer">
<part name="parameters" element="tns:CreateIndividualCustomer" />
</message>
- <message name="CreateIndividualCustomerResponse">
<part name="parameters" element="tns:CreateIndividualCustomerResponse" />
</message>
- <message name="CreateIndividualCustomer_Validate">
<part name="parameters" element="tns:CreateIndividualCustomer_Validate" />
</message>
- <message name="CreateIndividualCustomer_ValidateResponse">
<part name="parameters" element="tns:CreateIndividualCustomer_ValidateResponse" />
</message>
- <portType name="ProductWebServicesImpl">
- <operation name="CreateIndividualCustomer">
<input wsam:Action="http://company.com/WARName/ProductWebServicesImpl/CreateIndividualCustomerRequest" message="tns:CreateIndividualCustomer" />
<output wsam:Action="http://company.com/WARName/ProductWebServicesImpl/CreateIndividualCustomerResponse" message="tns:CreateIndividualCustomerResponse" />
</operation>
- <operation name="CreateIndividualCustomer_Validate">
<input wsam:Action="http://company.com/WARName/ProductWebServicesImpl/CreateIndividualCustomer_ValidateRequest" message="tns:CreateIndividualCustomer_Validate" />
<output wsam:Action="http://company.com/WARName/ProductWebServicesImpl/CreateIndividualCustomer_ValidateResponse" message="tns:CreateIndividualCustomer_ValidateResponse" />
</operation>
</portType>
- <binding name="ProductWebServicesImplPortBinding" type="tns:ProductWebServicesImpl">
<wsp1_2:PolicyReference URI="#UsernameToken" />
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
- <operation name="CreateIndividualCustomer">
<soap:operation soapAction="" />
- <input>
<soap:body use="literal" />
</input>
- <output>
<soap:body use="literal" />
</output>
</operation>
- <operation name="CreateIndividualCustomer_Validate">
<soap:operation soapAction="" />
- <input>
<soap:body use="literal" />
</input>
- <output>
<soap:body use="literal" />
</output>
</operation>
</binding>
- <service name="ProductWebServicesImplService">
- <port name="ProductWebServicesImplPort" binding="tns:ProductWebServicesImplPortBinding">
<soap:address location="http://localhost:8080/WARName/services" />
</port>
</service>
</definitions>
WSDL generated by Weblogic
<?xml version="1.0" encoding="UTF-8" ?>
- <!-- Published by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is Oracle JAX-WS 2.1.5.
-->
- <!-- Generated by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is Oracle JAX-WS 2.1.5.
-->
- <definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://company.com/WARName" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://company.com/WARName" name="ProductWebServicesImplService">
- <types>
- <xsd:schema>
<xsd:import namespace="http://company.com/WARName" schemaLocation="http://machineIP:6601/WARNameSO/services?xsd=1" />
</xsd:schema>
- <xsd:schema>
<xsd:import namespace="http://jaxb.dev.java.net/array" schemaLocation="http://machineIP:6601/WARNameSO/services?xsd=2" />
</xsd:schema>
</types>
- <message name="CreateIndividualCustomer">
<part name="parameters" element="tns:CreateIndividualCustomer" />
</message>
- <message name="CreateIndividualCustomerResponse">
<part name="parameters" element="tns:CreateIndividualCustomerResponse" />
</message>
- <message name="CreateIndividualCustomer_Validate">
<part name="parameters" element="tns:CreateIndividualCustomer_Validate" />
</message>
- <message name="CreateIndividualCustomer_ValidateResponse">
<part name="parameters" element="tns:CreateIndividualCustomer_ValidateResponse" />
</message>
- <portType name="ProductWebServicesImpl">
- <operation name="CreateIndividualCustomer">
<input message="tns:CreateIndividualCustomer" />
<output message="tns:CreateIndividualCustomerResponse" />
</operation>
- <operation name="CreateIndividualCustomer_Validate">
<input message="tns:CreateIndividualCustomer_Validate" />
<output message="tns:CreateIndividualCustomer_ValidateResponse" />
</operation>
</portType>
- <binding name="ProductWebServicesImplPortBinding" type="tns:ProductWebServicesImpl">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
- <operation name="CreateIndividualCustomer">
<soap:operation soapAction="" />
- <input>
<soap:body use="literal" />
</input>
- <output>
<soap:body use="literal" />
</output>
</operation>
- <operation name="CreateIndividualCustomer_Validate">
<soap:operation soapAction="" />
- <input>
<soap:body use="literal" />
</input>
- <output>
<soap:body use="literal" />
</output>
</operation>
</binding>
- <service name="ProductWebServicesImplService">
- <port name="ProductWebServicesImplPort" binding="tns:ProductWebServicesImplPortBinding">
<soap:address location="http://machineIP:6601/WARNameSO/services" />
</port>
</service>
</definitions>
Edited by: 943018 on Jun 26, 2012 9:44 PMSadly you're correct about the previous developers not fully using the skinning framework. Some of it has been done correctly using a skin - such as the icon shown when required=true has been set (.AFRequiredIconStyle). Unfortunately the label width is being set from our custom CSS file, rather than from a skin. It looks like I'll have to remove our custom CSS and try to recreate the appearance using the skin from scratch.
Maybe you are looking for
-
Sync laptop and desk top to one iTunes account
I have been reading some of the posts for syncing multiple computers to one iTunes account. What I get out of it is at this time syncing one iTune account with multiple computers is out unless you want to use a third party software. I work from home
-
Web site IMUV downloaded by grandson. The site opens up at the beginning of each session when computer is started. It is an annoyance and inconvenience to exit the program and I have been unsuccessful in deleting it at all. I would like to open up wi
-
White screen and will not reset or sync
i phone 3gs turns on and off with a white screen and also will not sync and i get a apple warning frm itunes whn it is plugged into laptop frm itunes which tells me to try later!!!
-
Hello all.. I experienced issues with my Bt HomeHub3 where the internet would turn off (orange light) and then come back on for a very very short amount of time if I was lucky.. typical diagnoses then followed.. reset.. turn off for 10 or so seconds.
-
On several sites, including the BBC, copy appears with words highlighted. Passing the cursor over them reveals an advert connected to the word. This only seems to have started a couple of weeks ago