How parse the wsdl types?
Hi, I have created a wsdl parser with the wsdl4j that return the interface of my web service. If, for example, this is a part of my wsdl file:
<definitions name="TemperatureService"
targetNamespace="http://www.xmethods.net/sd/TemperatureService.wsdl">
<message name="getTempRequest">
<part name="zipcode" type="xsd:string"/>
</message>
<message name="getTempResponse">
<part name="return" type="xsd:float"/>
</message>
<portType name="TemperaturePortType">
<operation name="getTemp">
<input message="tns:getTempRequest"/>
<output message="tns:getTempResponse"/>
</operation>
</portType>
my parser return this:
public Interface TemperatureService {
public float getTemp(String zipcode);
Now if I have a wsdl file more detailed in which there are an input or output message that have a complex type element, how I can return the structure of this complex type element? For example, if I have this message and this complexType:
<types>
<xsd:schema targetNamespace="http://www.capeclear.com/GlobalWeather.xsd" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:import namespace="http://schemas.xmlsoap.org/soap/encoding/" />
<xsd:complexType name="Direction">
<xsd:complexType name="Station">
<xsd:sequence>
<xsd:element maxOccurs="1" minOccurs="1" name="icao" nillable="true" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="1" name="wmo" nillable="true" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="1" name="iata" nillable="true" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="1" name="elevation" type="xsd:double"/>
<xsd:element maxOccurs="1" minOccurs="1" name="latitude" type="xsd:double"/>
<xsd:element maxOccurs="1" minOccurs="1" name="longitude" type="xsd:double"/>
<xsd:element maxOccurs="1" minOccurs="1" name="name" nillable="true" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="1" name="region" nillable="true" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="1" name="country" nillable="true" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="1" name="string" nillable="true" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
</types>
<message name="getStationResponse">
<part name="return" type="xsd:Station"/>
</message>
how can I return this:
class Station{
String icao;
String wmo;
String iata;
double elevation;
The structure of the class is not important, I would obtain the internal variables (icao, wmo, iata, ...).
Anyone can help me? Thanks!!!!
Andrea
Hi,
i also have a similar problem.
I am looking to parser which give me all parameters (and types) to given method. Best way in java vector.
My parser give me this all information if I have simple wsdl file, but when using dificult wsdl file with this elements
<xsd:element maxOccurs="1" minOccurs="1" name="icao" nillable="true" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="1" name="wmo" nillable="true" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="1" name="iata" nillable="true" type="xsd:string"/>
I getting only unparsed xml file part..
Anybody know how resolve this problem?
Similar Messages
-
I was trying to create a proxy object in power builder 11.5 for the OSB web services and was getting an error as "cannot parse the wsdl".
Did any one successfully tried OSB webservices integeration in PB 11.5?
Please let me know how to integrate OSB webservices in PB 11.5
Thanks
Ut
Edited by: user5188075 on Oct 26, 2011 12:15 PMtry IP instead of computer name
the solution given below may help you
http://blogs.eteration.com/blog/?p=365 -
How is the storage type for a component picked automatically in PO staging
Hi
The Process cycle is :
Sales Order created MRP-Planned Order ---Production Order
Problem : Transfer Requirement not created for Picking
Now if I go to Co03--GOTOWM Pick list , For the component the storage type is notr updated automatically
I compared with Materials for a TR was created & found that Storage type 100 was updated automatically
Q:How is the storage type for a component picked automatically in PO staging (WM activated )Hi Rajesh
Thanks for your inputs . Actually I forgot to mention that the client is not using Storage type in any of the material master data
The problem was because the control cycle was not maintained for the combination of material /Plant & Supply Area
Anyway thanks for your info .Appreciate your cooperation
Arindam -
Service Unit Packaging: how is the wsdl found?
Hi,
I'm just working my way through JBI. I have the SynchronousSampleApplication running and am currently trying to fully understand it. Now I am wondering: how is the WSDL found in a service deployment unit?
Looking at the sun-http-binding.jar I find /META-INF/jbi.xml. But the main information is in the WSDL file that can be found as /SynchronousSample/SynchronousSample.wsdl. But there is no "pointer" from jbi.xml to this file. So how can the http binding component find this file during deployment? What packaging rule applies here? I couldn't find any hint in the specification. Section 6.3.4 only mentions the jbi.xml, not a word about the WSDL...
Any hint? Thanks!
MichaelWe have written 4 JBI Binding Components (RSS, SIP, UDDI, and XMPP) and I can tell you how we did it which probably should be similar.
On ServiceUnitManager.deploy() the BC is given a path to the Service Unit Root Path, where is does a search for *.wsdl files. For each wsdl file he extracts the binding to determine whether or not it's his. Therefore each BC has it's own binding namespace such as for RSS it's <rss:binding> located in the <binding> section of the wsdl, where the rss namespace is http://schemas.sun.com/jbi/wsdl-extensions/rss/.
In summary, the BC will search the service unit root path for all wsdls and when he finds one that matches his specific binding he knows it's his. -
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());
} -
RFC function as a Web service - how to make wsdl type names unique
Hello,
We have a RFC function module, converted into a web service named ZVIEW_AGREEM, which works perfectly. Note that we only have a basic CRM system (Basis 7.31 SP 11), we don't have PI.
There is a client request to create a new version of this web service, named ZVIEW_AGREEM_2 : there is a new field "output_parameter2" in the response. The response type has XSD type named "VAGResult" (that we entered manually in the service definition).
The client also asked us to keep the old web service so that to be able to switch to the new one at a future date.
So, we duplicated the function module, duplicated the DDIC structure, and inserted the requested field, and then we made the web service.
It's okay except that the client complains that his software doesn't accept the WSDL, because we kept the same external type name "VAGResult", and it's different between the 2 web services (in the second, there is the extra "output_parameter2"). Both are assigned the standard SAP namespace urn:sap-com:document:sap:rfc:functions.
Do you know if there is a way to make SAP control the unicity of external type names to avoid having WSDL types with the same name and different structures?
Thanks.
Sandra
Attached is the WSDL of ZVIEW_AGREEM_2; ZVIEW_AGREEM is exactly the same but doesn't have "output_parameter2".Thanks.
But the question is more about the fact that we may name a type as we want, SAP does not check (VAGResult in the screen capture below, which becomes <complexType name="VAGResult"... in the WSDL). It may be the same name as a type in another Web Service, both types may have completely different structures. It's a problem from a "philosophical" perspective, as these types share the same namespace "urn:sap-com:document:sap:rfc:functions"; the client software doesn't accept that, we have to rename it; I'd like to know whether SAP proposes a way to prevent choosing a name if it's already chosen for another type of different content. -
Issue with weblogic.jar parsing the wsdl
Hi,
Here is a very small program, for which i am facing the problem of getting the
types from the wsdl. It works fine, as standalone....You do not have to deploy
the code any where..just have weblogic.jar in the classpath. It does not work.
It works when weblogic.jar is not in the classpath..any help is GREATLY APPRECIATED...
java.wsdl.Types from the java.wsdl.Definition object and the schema in the types
is null ( when weblogic.jar is present in the
I am always getting null in the schema (
import javax.wsdl.Definition;
//import weblogic.soap.wsdl.binding.Definition;
import javax.wsdl.xml.WSDLReader;
import javax.wsdl.factory.WSDLFactory;
public class Test {
Definition definition = null;
public static void main(String args[] ) {
Test test = new Test();
test.parseWSDL(args[0]);
public void parseWSDL(String WSDLName)
try
WSDLFactory wsdlFactory = WSDLFactory.newInstance();
WSDLReader wsdlReader = wsdlFactory.newWSDLReader();
wsdlReader.setFeature("javax.wsdl.verbose",false);
wsdlReader.setFeature("javax.wsdl.importDocuments",true);
definition = wsdlReader.readWSDL(WSDLName);
System.out.println("-----------" + definition.getTypes() );
catch( Exception e ) {
System.out.println("Exception" + e ); }
Thank for your help.
NagHi Nag,
With little reference to Sir Walter Scott, it would be a very tangled
web we weave in an attempt to factor out the inter-relationships of
javax interfaces that are hindering your effort. All to say, we don't
currently support JSR 110 (javax.wsdl.*) and it is not on the near term
horizon.
Have you considered using autotype [1]?
Regards,
Bruce
[1]
http://edocs.bea.com/wls/docs81/webserv/anttasks.html#1080062
Nag wrote:
>
Hi,
Here is a very small program, for which i am facing the problem of getting the
types from the wsdl. It works fine, as standalone....You do not have to deploy
the code any where..just have weblogic.jar in the classpath. It does not work.
It works when weblogic.jar is not in the classpath..any help is GREATLY APPRECIATED...
java.wsdl.Types from the java.wsdl.Definition object and the schema in the types
is null ( when weblogic.jar is present in the
I am always getting null in the schema (
import javax.wsdl.Definition;
//import weblogic.soap.wsdl.binding.Definition;
import javax.wsdl.xml.WSDLReader;
import javax.wsdl.factory.WSDLFactory;
public class Test {
Definition definition = null;
public static void main(String args[] ) {
Test test = new Test();
test.parseWSDL(args[0]);
public void parseWSDL(String WSDLName)
try
WSDLFactory wsdlFactory = WSDLFactory.newInstance();
WSDLReader wsdlReader = wsdlFactory.newWSDLReader();
wsdlReader.setFeature("javax.wsdl.verbose",false);
wsdlReader.setFeature("javax.wsdl.importDocuments",true);
definition = wsdlReader.readWSDL(WSDLName);
System.out.println("-----------" + definition.getTypes() );
catch( Exception e ) {
System.out.println("Exception" + e ); }
Thank for your help.
Nag -
How does the transaction type use?
Hi everybody:
A question often comes out of my mind, it makes me confused.
When you post a accounting document in Asset module by using f-91.... input a transaction type in it, then the system can post to an G/L account for you. I wanna know how the transaction type links to a general ledger account?
and I guess there must have some relations between the transaction type (maybe transaction type group) and AO90 configration.
Any help will be really appreciatedHi expert
I m a newcomer,so my expression may be ambiguous, sorry about that
As U said that Here u mention the GL accounts against which ur acquistion, depreciation, sale of asset , scrape, loss/gain on sale of asset are maintained.
I still dont kown How a GL Acc in AO90 i.e acquistion links to a transaction type(or transaction type group). U know there are lots of GL Accounts in AO90 acquistion group. When I post a doc in fi, which Acc is chosen by the system? and how?
Regards,
James -
How get the condition type of PO's item
Dear All,
I want to get the condition type of PO's item.
I have checked the EKPO, there is Purchasing Info Record but no Purchasing info record category(esokz) that is the key of in table A017.
How can i get the Purchasing info record category(esokz) of PO's item?
Thank you in advance.Hi,
Purchase info records are stored in EINA and EINE table. The field you are looking for is in table EINE.
Hope this helps.
ashish -
How to Customize the WSDL file in Weblogic
Hello All
I am trying to make a web service deployed inside weblogic to be accessible through a loadbalancer that use HTTPS protocol.
The wsdl file url is accessible through the load balancer via https and all works fine expect the schemalocation attributes within the wsdl
<types>
<xsd:schema>
<xsd:import namespace="http://interfaces.package.com/" schemaLocation="http://domainname:80/I2SS-Interface-context-root/InterfacePort?xsd=1"/>
</xsd:schema>
</types>
I don't know which element is generating the wsdl (weblogic or JAXWS SOAPBinding) . But I need that the schema location attributes contains https url and using the port 443.
Please can you help me to customize this file.
Thankschange your web-inf directory name to WEB-INF. This should fix your problem.
Kumar.
Alex wrote:
> I write a jap and a web.xml files and also pack these files into a war file.
> When I use the console to deploy the war, the console think the war is a
> application, not web application.
> I attach the test.war.
>
> Name: test.war
> test.war Type: unspecified type (application/octet-stream)
> Encoding: x-uuencode
-
How to get the 'mime-type' of a Resource accessed via WebDAV
Hello,
When a document is uploaded into a folder which is managed by a WebDAV RepositoryManager we don't see a Property 'mime-type' or something like that.
Our code:
<i>IPropertyMap lijstProp = tempResource.getProperties();</i>
In the list there is no Property 'contenttype' or something like that!
This is a bit of a surprise to me since it seems to me a very relevant Property of a Resource.
How can the mime-type/contenttype of a Resource managed by a WebDAV Repository Manager be determined?
Kind regards,
Maarten RuttenHi Thilo,
We access the Resources via API.
When I use "IPropertyMap lijstProp = tempResource.getProperties();" I assume that ALL the available properties are in 'lijstProp'.
(is this correct?)
I don't have the Property "contenttype" available in 'lijstProp'.
A workaround could be that when adding documents to a folder via API's, we also should set this Property via API's.
But when documents are added directly into the WebDAV folder we don't have that option. So, when we find a Resource with the Property 'contenttype' missing the only option I see is to 'calculate' the contenttyype based on the extension of the Resource.
Do you agree?
Kind regards,
Maarten -
Error loading WSDL The WSDL document could not be parsed.
Error Loading WSDL
The WSDL document could not be parsed.
The following error occured while parsing the WSDL location -
Failed to model operation: {http://xmlns.oracle.com/DataloadSOA/SubmitSvc/SubmitSvc}SubmitPayload(,) Reason: Could not find element definition for {http://www.cdisc.org/ns/odm/v1.3}Study Detail:
oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: Failed to model operation: {http://xmlns.oracle.com/DataloadSOA/SubmitSvc/SubmitSvc}SubmitPayload(,) Reason: Could not find element definition for {http://www.cdisc.org/ns/odm/v1.3}Study Detail: at oracle.sysman.emSDK.webservices.wsdlparser.ParsedWSDLFactoryImpl.getParsedWSDL(ParsedWSDLFactoryImpl.java:157) at oracle.sysman.emSDK.webservices.wsdlparser.ParsedWSDLFactoryImpl.getParsedWSDL(ParsedWSDLFactoryImpl.java:87) at oracle.sysman.emas.model.wsmgt.WSTestModel.init(WSTestModel.java:325) at oracle.sysman.emas.view.wsmgt.WSView.parseWSDL(WSView.java:169) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at com.sun.el.parser.AstValue.invoke(AstValue.java:187) at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:297) at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46) at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102) at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96) at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96) at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96) at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475) at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:889) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:379) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.emSDK.license.LicenseFilter.doFilter(LicenseFilter.java:101) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446) at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177) at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.help.web.rich.OHWFilter.doFilter(Unknown Source) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.emas.fwk.MASConnectionFilter.doFilter(MASConnectionFilter.java:41) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:179) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.eml.app.AuditServletFilter.doFilter(AuditServletFilter.java:179) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:203) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.core.model.targetauth.EMLangPrefFilter.doFilter(EMLangPrefFilter.java:158) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.core.app.perf.PerfFilter.doFilter(PerfFilter.java:141) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:542) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119) at java.security.AccessController.doPrivileged(Native Method) at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315) at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442) at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103) at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171) at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256) at weblogic.work.ExecuteThread.run(ExecuteThread.java:221) Caused by: oracle.webservices.mdds.MddsException: Failed to model operation: {http://xmlns.oracle.com/DataloadSOA/SubmitSvc/SubmitSvc}SubmitPayload(,) Reason: Could not find element definition for {http://www.cdisc.org/ns/odm/v1.3}Study Detail: at oracle.sysman.emSDK.webservices.wsdlparser.ParsedWSDLFactoryImpl$LocalMddsErrorHandler.failedToModelOperation(ParsedWSDLFactoryImpl.java:186) at oracle.j2ee.ws.mdds.ModuleBuilder.annotateOperation(ModuleBuilder.java:419) at oracle.j2ee.ws.mdds.ModuleBuilder.annotatePort(ModuleBuilder.java:366) at oracle.j2ee.ws.mdds.ModuleBuilder.annotateService(ModuleBuilder.java:139) at oracle.j2ee.ws.mdds.ModuleBuilder.doAnnotateModel(ModuleBuilder.java:101) at oracle.j2ee.ws.mdds.ModuleBuilder.annotateModel(ModuleBuilder.java:81) at oracle.j2ee.ws.mdds.MddsModelFactoryImpl.createModelFromWSDL(MddsModelFactoryImpl.java:92) at oracle.j2ee.ws.mdds.MddsModelFactoryImpl.createModelFromWSDL(MddsModelFactoryImpl.java:78) at oracle.sysman.emSDK.webservices.wsdlparser.ParsedWSDLFactoryImpl.getParsedWSDL(ParsedWSDLFactoryImpl.java:152) ... 80 more
View Log MessagesSaveCloseHi,
Are you able to view the wsdl in a browser?
It seems the wsdl is not deployed properly on the server. -
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 -
How Can I parse a complex type WSDL using WSDL4J?
I cannot parse the element Area---helppppppppppp
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="http://testfinal" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://testfinal" xmlns:intf="http://testfinal" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<wsdl:types>
<schema targetNamespace="http://testfinal" xmlns="http://www.w3.org/2001/XMLSchema">
<element name="x" type="xsd:string"/>
<complexType name="Area">
<sequence>
<element name="f" type="xsd:int"/>
<element name="fo" type="xsd:int"/>
</sequence>
</complexType>
<element name="f" type="impl:Area"/>
<element name="getSampleReturn" type="xsd:string"/>
<element name="sample" type="xsd:string"/>
</schema>
</wsdl:types>
<wsdl:message name="getSampleRequest">
<wsdl:part element="impl:x" name="x"/>
<wsdl:part element="impl:f" name="f"/>
</wsdl:message>FYI, many folks on these forums are behind corporate firewalls that won't allow access to that sort of site. Particularly when the amount of code is small, as it is here, you're better off posting it in the forum
create or replace procedure myProcedure( i int ) is
TYPE mapx IS TABLE OF NUMBER INDEX BY VARCHAR2(64);
TYPE mapy IS TABLE OF mapx INDEX BY VARCHAR2(64);
instanceOfMapx mapx;
instanceOfMapy mapy;
begin
instanceOfMapx('Australia') := 30000000;
instanceOfMapy('val1'):=instanceOfMapx;
dbms_output.put_line('hi');
/* i want here that in my procedure return this instanceOfMapy */
end myProcedure;If you want to modify that to return an instance of MAPY
1) You'll need to declare MAPX and MAPY in a package so that they can be referenced in multiple places
2) You'll need to add an OUT parameter to your procedure
The smallest change that would work would be
CREATE OR REPLACE PACKAGE map_pkg
AS
TYPE mapx IS TABLE OF NUMBER INDEX BY VARCHAR2(64);
TYPE mapy IS TABLE OF mapx INDEX BY VARCHAR2(64);
END map_pkg;
create or replace procedure myProcedure( i IN integer, instanceOfMapy OUT map_pkg.mapy )
is
instanceOfMapx map_pkg.mapx;
begin
instanceOfMapx('Australia') := 30000000;
instanceOfMapy('val1'):=instanceOfMapx;
dbms_output.put_line('hi');
/* i want here that in my procedure return this instanceOfMapy */
end myProcedure;Of course, practically, I'd expect that you'd likely want to move myProcedure into the package you created.
Justin -
When I create an EJB Transport Business Service, after selecting the jar that has the EJB 2.1 artefacts (Remote, Home, etc) the oepe plugin fails and can't continue.
As I understand it seems that there is a problem with the classpath of ant build.xml that oepe creates inside folder /tmp/alsbejbtransport/ to compile the bs and generate the wsdl. I checked if tools.jar is in the classpath (in eclipse) and is included, so I can't figure out wich is the problem.
I found this in Oracle, but not helps solve the problem:
BEA-398120
Error: The WSDL for the typed transport endpoint could not be accessed.
Description
There was a problem retrieving the WSDL from the typed transport service endpoint at the time of service registration
Action
Contact technical support
This is the the full stacktrace that shows eclipse.
Generate : Error during generation of the WSDL:
BUILD FAILED
java.lang.NoClassDefFoundError: com/sun/javadoc/Type
at com.bea.util.jam.provider.JamServiceFactoryImpl.createSourceBuilder(JamServiceFactoryImpl.java:205)
at com.bea.util.jam.provider.JamServiceFactoryImpl.createBuilder(JamServiceFactoryImpl.java:158)
at com.bea.util.jam.provider.JamServiceFactoryImpl.createClassLoader(JamServiceFactoryImpl.java:137)
at com.bea.util.jam.provider.JamServiceFactoryImpl.createService(JamServiceFactoryImpl.java:78)
at weblogic.wsee.util.JamUtil.parseSource(JamUtil.java:152)
at weblogic.wsee.tools.anttasks.JwsLoader.loadJClasses(JwsLoader.java:186)
at weblogic.wsee.tools.anttasks.JwsLoader.load(JwsLoader.java:75)
at weblogic.wsee.tools.anttasks.JwsModule.loadWebServices(JwsModule.java:569)
at weblogic.wsee.tools.anttasks.JwsModule.generate(JwsModule.java:369)
at weblogic.wsee.tools.anttasks.JwsModule.build(JwsModule.java:256)
at weblogic.wsee.tools.anttasks.JwscTask.execute(JwscTask.java:184)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
at org.apache.tools.ant.Main.runBuild(Main.java:758)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
Caused by: java.lang.ClassNotFoundException: com.sun.javadoc.Type
at org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1400)
at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1341)
at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1088)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
... 27 more
Total time: 0 seconds
Eclipse Installation details:
*** System properties:
eclipse.application=org.eclipse.ui.ide.workbench
eclipse.buildId=M20110909-1335
eclipse.commands=-os
linux
-ws
gtk
-arch
x86_64
-showsplash
-launcher
{home}/Development/oepe-indigo/eclipse
-name
Eclipse
--launcher.library
{home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.100.v20110505/eclipse_1407.so
-startup
{home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--launcher.overrideVmargs
-exitdata
1e418010
-vm
/usr/bin/java
eclipse.home.location=file:{home}/Development/oepe-indigo/
eclipse.launcher={home}/Development/oepe-indigo/eclipse
eclipse.launcher.name=Eclipse
[email protected]/../p2/
eclipse.p2.profile=PlatformProfile
eclipse.product=org.eclipse.platform.ide
eclipse.startTime=1374623921455
eclipse.vm=/usr/bin/java
eclipse.vmargs=-Xms256m
-Xmx768m
-XX:MaxPermSize=512m
-Dsun.lang.ClassLoader.allowArraySyntax=true
-Dweblogic.home={home}/Oracle/Middleware/wlserver_10.3
-Dharvester.home={home}/Oracle/Middleware/Oracle_OSB1/harvester
-Dosb.home={home}/Oracle/Middleware/Oracle_OSB1
-Dosgi.bundlefile.limit=750
-Dosgi.nl=en_US
-Dmiddleware.home={home}/Oracle/Middleware
-jar
{home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
equinox.use.ds=true
file.encoding=UTF-8
file.encoding.pkg=sun.io
file.separator=/
guice.disable.misplaced.annotation.check=true
harvester.home={home}/Oracle/Middleware/Oracle_OSB1/harvester
http.nonProxyHosts=localhost
java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
java.awt.printerjob=sun.print.PSPrinterJob
java.class.path={home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
java.class.version=50.0
java.endorsed.dirs=/usr/lib/jvm/jdk1.6.0_45/jre/lib/endorsed
java.ext.dirs=/usr/lib/jvm/jdk1.6.0_45/jre/lib/ext:/usr/java/packages/lib/ext
java.home=/usr/lib/jvm/jdk1.6.0_45/jre
java.io.tmpdir=/tmp
java.library.path=/usr/lib/jvm/jdk1.6.0_45/jre/lib/amd64/server:/usr/lib/jvm/jdk1.6.0_45/jre/lib/amd64:/usr/lib/jvm/jdk1.6.0_45/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
java.protocol.handler.pkgs=null|com.bea.wli.sb.resources.url|com.bea.wli.sb.resources.jca.upgrade.url|weblogic.utils|weblogic.utils|weblogic.utils|weblogic.net|weblogic.net
java.runtime.name=Java(TM) SE Runtime Environment
java.runtime.version=1.6.0_45-b06
java.specification.name=Java Platform API Specification
java.specification.vendor=Sun Microsystems Inc.
java.specification.version=1.6
java.vendor=Sun Microsystems Inc.
java.vendor.url=http://java.sun.com/
java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi
java.version=1.6.0_45
java.vm.info=mixed mode
java.vm.name=Java HotSpot(TM) 64-Bit Server VM
java.vm.specification.name=Java Virtual Machine Specification
java.vm.specification.vendor=Sun Microsystems Inc.
java.vm.specification.version=1.0
java.vm.vendor=Sun Microsystems Inc.
java.vm.version=20.45-b01
javax.rmi.CORBA.PortableRemoteObjectClass=weblogic.iiop.PortableRemoteObjectDelegateImpl
javax.rmi.CORBA.UtilClass=weblogic.iiop.UtilDelegateImpl
jna.platform.library.path=/usr/lib/x86_64-linux-gnu:/lib/x86_64-linux-gnu:/lib64:/usr/lib:/lib
line.separator=
middleware.home={home}/Oracle/Middleware
oracle.eclipse.tools.weblogic.ui.isWebLogicServer=true
org.apache.commons.logging.Log=org.apache.commons.logging.impl.NoOpLog
org.eclipse.equinox.launcher.splash.location={home}/Development/oepe-indigo/plugins/org.eclipse.platform_3.7.1.v201109091335/splash.bmp
org.eclipse.equinox.simpleconfigurator.configUrl=file:org.eclipse.equinox.simpleconfigurator/bundles.info
org.eclipse.m2e.log.dir={home}/workspace/pragma/.metadata/.plugins/org.eclipse.m2e.logback.configuration
org.eclipse.update.reconcile=false
org.omg.CORBA.ORBClass=weblogic.corba.orb.ORB
org.omg.CORBA.ORBSingletonClass=weblogic.corba.orb.ORB
org.osgi.framework.executionenvironment=OSGi/Minimum-1.0,OSGi/Minimum-1.1,OSGi/Minimum-1.2,JRE-1.1,J2SE-1.2,J2SE-1.3,J2SE-1.4,J2SE-1.5,JavaSE-1.6
org.osgi.framework.language=en
org.osgi.framework.os.name=Linux
org.osgi.framework.os.version=3.8.0
org.osgi.framework.processor=x86-64
org.osgi.framework.system.capabilities=osgi.ee; osgi.ee="OSGi/Minimum"; version:List<Version>="1.0, 1.1, 1.2",osgi.ee; osgi.ee="JavaSE"; version:List<Version>="1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6"
org.osgi.framework.system.packages=javax.accessibility,javax.activation,javax.activity,javax.annotation,javax.annotation.processing,javax.crypto,javax.crypto.interfaces,javax.crypto.spec,javax.imageio,javax.imageio.event,javax.imageio.metadata,javax.imageio.plugins.bmp,javax.imageio.plugins.jpeg,javax.imageio.spi,javax.imageio.stream,javax.jws,javax.jws.soap,javax.lang.model,javax.lang.model.element,javax.lang.model.type,javax.lang.model.util,javax.management,javax.management.loading,javax.management.modelmbean,javax.management.monitor,javax.management.openmbean,javax.management.relation,javax.management.remote,javax.management.remote.rmi,javax.management.timer,javax.naming,javax.naming.directory,javax.naming.event,javax.naming.ldap,javax.naming.spi,javax.net,javax.net.ssl,javax.print,javax.print.attribute,javax.print.attribute.standard,javax.print.event,javax.rmi,javax.rmi.CORBA,javax.rmi.ssl,javax.script,javax.security.auth,javax.security.auth.callback,javax.security.auth.kerberos,javax.security.auth.login,javax.security.auth.spi,javax.security.auth.x500,javax.security.cert,javax.security.sasl,javax.sound.midi,javax.sound.midi.spi,javax.sound.sampled,javax.sound.sampled.spi,javax.sql,javax.sql.rowset,javax.sql.rowset.serial,javax.sql.rowset.spi,javax.swing,javax.swing.border,javax.swing.colorchooser,javax.swing.event,javax.swing.filechooser,javax.swing.plaf,javax.swing.plaf.basic,javax.swing.plaf.metal,javax.swing.plaf.multi,javax.swing.plaf.synth,javax.swing.table,javax.swing.text,javax.swing.text.html,javax.swing.text.html.parser,javax.swing.text.rtf,javax.swing.tree,javax.swing.undo,javax.tools,javax.transaction,javax.transaction.xa,javax.xml,javax.xml.bind,javax.xml.bind.annotation,javax.xml.bind.annotation.adapters,javax.xml.bind.attachment,javax.xml.bind.helpers,javax.xml.bind.util,javax.xml.crypto,javax.xml.crypto.dom,javax.xml.crypto.dsig,javax.xml.crypto.dsig.dom,javax.xml.crypto.dsig.keyinfo,javax.xml.crypto.dsig.spec,javax.xml.datatype,javax.xml.namespace,javax.xml.parsers,javax.xml.soap,javax.xml.stream,javax.xml.stream.events,javax.xml.stream.util,javax.xml.transform,javax.xml.transform.dom,javax.xml.transform.sax,javax.xml.transform.stax,javax.xml.transform.stream,javax.xml.validation,javax.xml.ws,javax.xml.ws.handler,javax.xml.ws.handler.soap,javax.xml.ws.http,javax.xml.ws.soap,javax.xml.ws.spi,javax.xml.ws.wsaddressing,javax.xml.xpath,org.ietf.jgss,org.omg.CORBA,org.omg.CORBA_2_3,org.omg.CORBA_2_3.portable,org.omg.CORBA.DynAnyPackage,org.omg.CORBA.ORBPackage,org.omg.CORBA.portable,org.omg.CORBA.TypeCodePackage,org.omg.CosNaming,org.omg.CosNaming.NamingContextExtPackage,org.omg.CosNaming.NamingContextPackage,org.omg.Dynamic,org.omg.DynamicAny,org.omg.DynamicAny.DynAnyFactoryPackage,org.omg.DynamicAny.DynAnyPackage,org.omg.IOP,org.omg.IOP.CodecFactoryPackage,org.omg.IOP.CodecPackage,org.omg.Messaging,org.omg.PortableInterceptor,org.omg.PortableInterceptor.ORBInitInfoPackage,org.omg.PortableServer,org.omg.PortableServer.CurrentPackage,org.omg.PortableServer.POAManagerPackage,org.omg.PortableServer.POAPackage,org.omg.PortableServer.portable,org.omg.PortableServer.ServantLocatorPackage,org.omg.SendingContext,org.omg.stub.java.rmi,org.w3c.dom,org.w3c.dom.bootstrap,org.w3c.dom.css,org.w3c.dom.events,org.w3c.dom.html,org.w3c.dom.ls,org.w3c.dom.ranges,org.w3c.dom.stylesheets,org.w3c.dom.traversal,org.w3c.dom.views,org.w3c.dom.xpath,org.xml.sax,org.xml.sax.ext,org.xml.sax.helpers
org.osgi.framework.uuid=901615cd-f3f3-0012-11b6-a3bca4d97ac1
org.osgi.framework.vendor=Eclipse
org.osgi.framework.version=1.6.0
org.osgi.supports.framework.extension=true
org.osgi.supports.framework.fragment=true
org.osgi.supports.framework.requirebundle=true
os.arch=amd64
os.name=Linux
os.version=3.8.0-26-generic
osb.home={home}/Oracle/Middleware/Oracle_OSB1
osgi.arch=x86_64
osgi.bundlefile.limit=750
osgi.bundles=reference:file:javax.transaction_1.1.1.v201105210645.jar,reference:file:org.eclipse.equinox.simpleconfigurator_1.0.200.v20110502-1955.jar@1:start
osgi.bundles.defaultStartLevel=4
osgi.bundlestore={home}/Development/oepe-indigo/configuration/org.eclipse.osgi/bundles
osgi.configuration.area=file:{home}/Development/oepe-indigo/configuration/
osgi.framework=file:{home}/Development/oepe-indigo/plugins/org.eclipse.osgi_3.7.1.R37x_v20110808-1106.jar
osgi.framework.extensions=reference:file:javax.transaction_1.1.1.v201105210645.jar
osgi.framework.shape=jar
osgi.framework.version=3.7.1.R37x_v20110808-1106
osgi.frameworkClassPath=., file:{home}/Development/oepe-indigo/plugins/javax.transaction_1.1.1.v201105210645.jar
osgi.install.area=file:{home}/Development/oepe-indigo/
osgi.instance.area=file:{home}/workspace/pragma/
osgi.instance.area.default=file:{home}/workspace/
osgi.logfile={home}/workspace/pragma/.metadata/.log
osgi.manifest.cache={home}/Development/oepe-indigo/configuration/org.eclipse.osgi/manifests
osgi.nl=en_US
osgi.nl.user=en_US
osgi.os=linux
osgi.splashLocation={home}/Development/oepe-indigo/plugins/org.eclipse.platform_3.7.1.v201109091335/splash.bmp
osgi.splashPath=platform:/base/plugins/org.eclipse.platform
osgi.syspath={home}/Development/oepe-indigo/plugins
osgi.tracefile={home}/workspace/pragma/.metadata/trace.log
osgi.ws=gtk
path.separator=:
securerandom.source=file:/dev/./urandom
socksNonProxyHost=localhost
sun.arch.data.model=64
sun.boot.class.path=/usr/lib/jvm/jdk1.6.0_45/jre/lib/resources.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/rt.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/sunrsasign.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/jsse.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/jce.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/charsets.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/modules/jdk.boot.jar:/usr/lib/jvm/jdk1.6.0_45/jre/classes
sun.boot.library.path=/usr/lib/jvm/jdk1.6.0_45/jre/lib/amd64
sun.cpu.endian=little
sun.cpu.isalist=
sun.desktop=gnome
sun.io.unicode.encoding=UnicodeLittle
sun.java.command={home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar -os linux -ws gtk -arch x86_64 -showsplash -launcher {home}/Development/oepe-indigo/eclipse -name Eclipse --launcher.library {home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.100.v20110505/eclipse_1407.so -startup {home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar --launcher.overrideVmargs -exitdata 1e418010 -vm /usr/bin/java -vmargs -Xms256m -Xmx768m -XX:MaxPermSize=512m -Dsun.lang.ClassLoader.allowArraySyntax=true -Dweblogic.home={home}/Oracle/Middleware/wlserver_10.3 -Dharvester.home={home}/Oracle/Middleware/Oracle_OSB1/harvester -Dosb.home={home}/Oracle/Middleware/Oracle_OSB1 -Dosgi.bundlefile.limit=750 -Dosgi.nl=en_US -Dmiddleware.home={home}/Oracle/Middleware -jar {home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
sun.java.launcher=SUN_STANDARD
sun.jnu.encoding=UTF-8
sun.lang.ClassLoader.allowArraySyntax=true
sun.management.compiler=HotSpot 64-Bit Tiered Compilers
sun.os.patch.level=unknown
svnkit.http.methods=Basic
svnkit.library.gnome-keyring.enabled=false
user.country=AR
user.dir={home}/Development/oepe-indigo
user.home={home}
user.language=es
user.name={username}
user.timezone=America/Argentina/Buenos_Aires
weblogic.home={home}/Oracle/Middleware/wlserver_10.3
Thanks!!run this one in command prompt and then convert the applet using converter tool
JC_HOME = C:\java_card_kit-2_2_2\bin\
set CLASSES=%JCHOME%\lib\apduio.jar;%JC_HOME%\lib\apdutool.jar;%JC_HOME%\lib\jcwde.jar;%JC_HOME%\lib\converter.jar;%JC_HOME%\lib\scriptgen.jar;%JC_HOME%\lib\offcardverifier.jar;%JC_HOME%\lib\api.jar;%JC_HOME%\lib\installer.jar;%JC_HOME%\lib\capdump.jar;
D:\NareshPalle\jcardRE\Smart\src>java -classpath %_CLASSES% com.sun.javacard.con
verter.Converter -out EXP JCA CAP -exportpath .\exp -applet 0x0a:0x00:0x00:0x00:0x0e:0x01:0x02:
0x03:0x04:0x05:0x06 PackageName appletName 0x01:0x02:0x03:0x04:0x05:0x0
6:0x07:0x08 1.0
or
go to following directory and run the converter tool in command prompt
step 1: cd C:\java_card_kit-2_2_2\bin\
then run this command under the above directory
step 2:converter -classdir E:\Pathof Your applet class file -out EXP JCA CAP -exportpath E:\path of exp files folder -applet AID PackageName AppletName PackAID major.minor no
For more doubts mail me....
*[removed by moderator]*
Thanks and Regards
NareshPalle
Edited by: EJP on 31/03/2012 20:09: removed your email address. Unless you like spam and unless you think these forums are provided for your personal benefit only, posting an email address here serves no useful purpose whatsoever.
Maybe you are looking for
-
How do i get a flix message that was sent to me
how do i see a flix message that was sent 2 me
-
My iphone 4 is stuck only showing an apple with a black screen
what should i do?
-
Hi, I'm studying about Oracle Multitenant and I'm hoping anyone can help me. We have a 86 TB database, with no compression and we're struggling to backup this database. So, here is what we thought. Compress the whole database (since it's only inserte
-
When installation is finished I get an error installing the product. When I run the program, I can't create a new Web Application project, nothing happens when I click on finish. I thought maybe my download was corrupt so I downloaded it again and th
-
My Flash Player is out of date!
I can't download the most up to date flash player on my mac book air. I have OS X version 10.9.5 the processor is 1.4 GHz Intel Core i5. It says I have the NPAPI Plug-in version 15.0.0.246 and the PPAPI Plug-in is not installed. Every time I try to