Webservice Generation -URL
Hi All,
When we generate webservice in ID through Tools -->Define webservice. While giving URL when we go for propose URL and when we go for this type http://<host>:<port>/XISOAPAdapter/MessageServlet?channel=<party>:<service>:<channel>.
What is the purpose of each option.?
Regards,
Prakash Babu
hi Prakash
After configuring and activatingyour sender SOAP adapter activating the SOAP adapter channel, you need to send your SOAP messages to the
following address:
http://<host>:<j2ee-port>/XISOAPAdapter/MessageServlet?
channel=<party>:<service>:<channel>
this following address tells the path through which you are going to send your soap adddress.
the Host : is your XI server address.
<party>: in case if you are using party.
<j2ee-port>: your j2ee port.
<service>: your business service name
<channel>: your sender SOAP chaanel name
rewards point if you find it needful.
regards
Kasturika
Similar Messages
-
Hello,
I have developed a Webservice Client in Netbeans 5.5 It al works perfect, but how do i change the URL for the ENDpoint or the URL from the webservice?
GreetingsI recently has the same problem and needed to change the webservice endpoint URL. I tried the above solution, it has one problem.. to get the port, we need to create an instance of service object. The service class generated by jax-ws (2.1rc1) contains code that tries to access wsdl which was used during build done using wsimport. This URL gets hardcoded in class file and if this hardcoded URL is not accessible from the machine on which app is running, the app throws an Exception.
I figured a better solution is to use service constructor that accepts wsdl url as a parameter. The new URL may be loaded from a Properties file.
You may still need BindingProvider if the service location needs to be changed later and you want to reuse the same service object.
If anyone knows any better way to change webservice endpoint as the application move from dev to test to prod.. I will like to know. -
WebService generation and polymorphic behavior
I have a simple problem.
Class A has an attribute of type Class B
Class B has 2 subclasses, Class C and Class D.
(it holds only a reference to Class B, but at runtime will be assigned
instances of Class C and Class D).
Lets say Stateless EJB has a method called getMyClassA() : Class A
The servicegen tool will not generate mappings or serializers/deserializers
for Class C and Class D because they are not referenced directly
(statically) from within serialized chain of classes. If I make a fake
(unused) attribute in Class A of type Class C and Class D, everything is
created and all works fine.
I tried to use the <autotype> and <source2wsdd> but I need to run then it
twice. Once with the EJB interface, and once with the supporting classes
(class C & D). Unfortunately I then have to manually merge the 2 deployment
descriptors because the <source2wsdd> task doesn't support the
"mergeWithExistingWs" attribute as specified in the documentation.
Has anybody encountered this problem?
Thanks,
MarkWhen I upgraded to 8.1 from the beta it seemed to magically work!
Thanks,
Mark
"manoj cheenath" <[email protected]> wrote in message
news:[email protected]...
Thanks for trying out my suggestion.
It looks like the problem is because you are
using 8.1beta. WLS 8.1 GA is available for
download. Please try it out.
I wrote an example similar to your usecase
and it seems to work fine in WLS 8.1.
Checkout the example attached.
Regards,
-manoj
http://manojc.com
"Mark Fine" <[email protected]> wrote in message
news:[email protected]...
Yes, i'm using the WLS8.1beta.
Originally, I was using the "copied.xml" file. That does not "merge".
It
works as stated in the autotype documentation, it excludes the types
specified in the "typeMapping" file so the new types.xml file onlycontains
types that are not in the "copied.xml" file.
The source2wsdd task is needed to merge two deployment descriptors intoone,
but unfortunately the documented parameter "mergeExistingWS" doesn't
work
in
8.1 (documented bug).
Is there any workaround for this other than manually merging thedeployment
descriptors.
M
"manoj cheenath" <[email protected]> wrote in message
news:[email protected]...
You are using WLS 8.1?
Also can you please try the secound autotype with
the copied.xml file. I suspect that the old types.xml
file is overwritten before loading it.
<autotype
javaComponents="${service.class}"
targetNamespace="${webservice.machine.url}"
destDir="${autotype.dir}"
typeMappingFile="${autotype.dir}/copied.xml"
>I have not tried this type of example. So this is a
wild guess :-)
Regards,
-manoj
http://manojc.com
"Mark Fine" <[email protected]> wrote in message
news:[email protected]...
I tried running autotype for both class C & D, and for the EJB. It
simply
overwrites the first types.xml.
To confirm the problem I copied the result of autotype C & D to aseparate
file and saw that its contents were not merged.
Here are my tasks:
<autotype
javatypes="C, D"
targetNamespace="${webservice.machine.url}"
destDir="${autotype.dir}">
<classpath>
<path refid="webservice-build-classpath" />
<pathelement location="${autotype.dir}" />
</classpath>
</autotype>
<copy tofile="${autotype.dir}/copied.xml"
file="${autotype.dir}/types.xml"/>
<autotype
javaComponents="${service.class}"
targetNamespace="${webservice.machine.url}"
destDir="${autotype.dir}"
typeMappingFile="${autotype.dir}/types.xml"
>
<classpath>
<path refid="webservice-build-classpath" />
<pathelement location="${autotype.dir}" />
</classpath>
</autotype>
"manoj cheenath" <[email protected]> wrote in message
news:[email protected]...
In 8.1 you can run autotype on class C and D to generate
the types.xml file. Then run autotype on the ejb interface
by passing in the types.xml file generated before. The
secound autotype should merge the type.xml files. I have
not tried this out, but a similar example is here.
http://www.manojc.com/?sample8
Regards,
-manoj
http://manojc.com
"Mark Fine" <[email protected]> wrote in message
news:[email protected]...
I have a simple problem.
Class A has an attribute of type Class B
Class B has 2 subclasses, Class C and Class D.
(it holds only a reference to Class B, but at runtime will be
assigned
instances of Class C and Class D).
Lets say Stateless EJB has a method called getMyClassA() : Class
A
>>>>>>
The servicegen tool will not generate mappings orserializers/deserializers
for Class C and Class D because they are not referenced directly
(statically) from within serialized chain of classes. If I make
a
fake
(unused) attribute in Class A of type Class C and Class D,
everything
is
created and all works fine.
I tried to use the <autotype> and <source2wsdd> but I need to
run
then
it
twice. Once with the EJB interface, and once with the
supporting
classes
(class C & D). Unfortunately I then have to manually merge the
2
deployment
descriptors because the <source2wsdd> task doesn't support the
"mergeWithExistingWs" attribute as specified in the
documentation.
>>>>>>
Has anybody encountered this problem?
Thanks,
Mark -
I am using Crystal Reports for Eclipse to serve up some reports for my web application. Currently, I am using JDBC datasources in which I am changing the datasource at runtime in a CrystalReportViewer where I also set some report parameters for every report that passes thru it. However, I am now switching from JDBC datasources as my data provider to webservices. The webservices work perfectly during design time. However, in my report, I have to tell it that the webservice is located at http://localhost/. When I go to deploy these reports to production servers, I need to dynamically change the target URL to something like http://myproductionserver/ at runtime. I know this needs to take place in my CrystalReportViewer, but I can't figure out how to do it there. Can someone point me in the direction I need to be going?
Thanks in advance...Ok. I've been making a little bit of progress with this. I have added "replaceConnection" on my database controller and am changing the URLs there. However, when I do that, I get an invalid argument exception.
Here is my replaceConnection code:
private void replaceConnection(DatabaseController dbController) throws ReportSDKException
ConnectionInfos connInfos = dbController.getConnectionInfos(null);
for(IConnectionInfo connInfo : connInfos)
PropertyBag pb = connInfo.getAttributes();
String newQEServer = connInfo.getAttributes().getStringValue("PreQEServerName").replace("localhost", "BJRKQJ1-SHAW");
String newServerName = connInfo.getAttributes().getStringValue("Server Name").replace("localhost", "BJRKQJ1-SHAW");
String newHttpWebserviceUrl = connInfo.getAttributes().getStringValue("Http WebService URL").replace("localhost", "BJRKQJ1-SHAW");
pb.put("PreQEServerName", newQEServer);
pb.put("Server Name", newServerName);
pb.put("Http WebService URL", newHttpWebserviceUrl);
dbController.replaceConnection(connInfo, connInfo, null, DBOptions._ignoreCurrentTableQualifiers + DBOptions._doNotVerifyDB);
Here is the exception stack trace:
<<< ERROR - Unable to create parameter for type int32s >>><<< ERROR - detected an exception: Invalid argument
at com.crystaldecisions.reports.common.ExceptionFactory.a(Unknown Source)
at com.businessobjects.reports.sdk.requesthandler.ParameterRequestHandler.a(Unknown Source)
at com.businessobjects.reports.sdk.requesthandler.ParameterRequestHandler.do(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(Unknown Source)
at com.crystaldecisions.reports.common.ThreadGuard.syncExecute(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.for(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
at com.businessobjects.sdk.erom.jrc.a.a(Unknown Source)
at com.businessobjects.sdk.erom.jrc.a.execute(Unknown Source)
at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.execute(Unknown Source)
at com.crystaldecisions.proxy.remoteagent.CommunicationChannel.a(Unknown Source)
at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(Unknown Source)
at com.crystaldecisions.proxy.remoteagent.RemoteAgent.char(Unknown Source)
at com.crystaldecisions.proxy.remoteagent.RemoteAgent.new(Unknown Source)
at com.crystaldecisions.proxy.remoteagent.RemoteAgent.do(Unknown Source)
at com.crystaldecisions.proxy.remoteagent.RemoteAgent.if(Unknown Source)
at com.crystaldecisions.proxy.remoteagent.UndoUnitBase.performDo(Unknown Source)
at com.crystaldecisions.proxy.remoteagent.UndoUnitBase.a(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.an.a(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.ParameterFieldController.a(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.ParameterFieldController.add(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.DatabaseController.for(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.DatabaseController.byte(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.DatabaseController.a(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.DatabaseController.replaceConnection(Unknown Source)
at com.businessobjects.GenerateReport.replaceConnection(GenerateReport.java:322)
at com.businessobjects.GenerateReport.createReportViewer(GenerateReport.java:213)
at com.businessobjects.GenerateReport.generateReport(GenerateReport.java:77)
at com.businessobjects.GenerateReport.doFilter(GenerateReport.java:57)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Unknown Source)
>>>
Sorry if the code gets displayed all out of whack. I can never get this thing to display correctly using the "code" with { } tags. -
SOAP Adapter with Webservice Provider URL
This is what I did. Configured a Receiver SOAP adapter with SOAP 1.1 Message Protocol. Target URL is the WSDL URL Binding (SOAMANAGER) with authentication.
When I test the scenario the Message is through PI and Communication Channel - No errors
However strangely I do not see anything happening in ECC. Sometimes a log shows up in SOAMANGER "SOA Runtime Log/Trace Viewer" which has SOAP Runtime Error Information. This is very inconsistent again.
I have tested SOAP with XI 3.0 Message Protocol and the messages are through in ECC. No problems there.
Also Tried with directly using "SOAP Location URL" from within the Binding WSDL URL. This also results in DUMP in ECC.
Does SOAP adapter with SOAP 1.1 Message Protocol support Webservice Provider in ECC EHP5(SOAMANAGER Binding)? Is it built to support this kind of scenario? Or only WS adapter can invoke the Binding URL?
Is there any other URL that can be invoked with SOAP -SOAP1.1?
Using PI 7.1 Service Pack 5.
Pavan.
Edited by: pavan sodani on Aug 12, 2011 4:57 AMDid you properly expose the RFC/Class in SOAMANAGER of the backend system? there is no endpoint created by default. You have to create and endpoint for a logical system (I guess). Then try calling the webservice from any 3rd party tool like Altova XML Spy. If that works then the ABAP webservice is working good and could be called from PI.
VJ -
PI as Webservice provider - URL with username and password
Dear Experts,
I need to test my webservice in PI from a SOAP client like XMLSpy or SOAPUI.
I tested the URL from the browser. It prompted for the username and password and worked.
How do I pass the username and password in the URL when I call this from the SOAP clients?
I tried the following format:
http://<server:5xxxx>/XISOAPAdapter/MessageServlet?channel=:<bs>:<soap sender channel>&sap-user=<username>&sap-password=<password>
I still got a 401 Unauthorized response back.
Any ideal please?Hi
1) testing through XML Spy
In your WSDL file provide URL in -
<soap:address location="http://host:port/XISOAPAdapter/MessageServlet?channel=party:service:channel" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>
While sending request to server,it will ask XI/PI user id and password itself. The user id must have authorization to invoke web service.Better take SAP_ALL or PIAPPLUSER authorization in this id.
2) You can pass user id and password also in this URL
http://host:port/XISOAPAdapter/MessageServlet?channel=party:service:channel>&sap-user=<username>&sap-password=<password>
Try both the options.
Best Regards -
hi,
I have a following scenario:
Webclient-->PI 7.0--
> SAP ECC
Using Sender Soap Adapter for connecting webclient
Between PI 7.0 & sap ecc system it is proxies.
A webclient sending a request details of customer number and Cutomer Description through PI to SAP ECC system.
In turn SAP ECC SYSTEM giving the response details to webclient through PI 7.0.
i am creating the webserivce in Integration Directory based on message interface of Customer Reponse_Outbound.
How can see the webservices by the following enpoint url
http://host:port/XISOAPAdapter/MessageServlet?channel=:sample_all:RetrievecustomerRecord_SOAP_Sender
I hope the above is the endpoint url....
What i will see in WS Navigator.
I need ur help friendsBy the URL ,data will be posted from 3rd party web client.
You just need to provide the wsdl(which you have already done), the url which I have given above and the userId/pwd(xi) for connecting to XI server.
A Guide to Using SAP XI SOAP Adapter
http://www.riyaz.net/blog/index.php/2008/03/16/xipi-a-guide-to-using-sap-xi-soap-adapter/
Invoke Webservices using SAPXI
Using the SOAP inbound channel of the Integration Engine
Debugging WebServices in a SOAP Receiver Scenario
Testing XI exposed Web-Services
How to use Client Authentication with SOAP Adapter
Walkthrough - SOAP XI RFC/BAPI
Achieving ASBO-GBO-ASBO scenario using SOAP Adapter
Handling Web Service SOAP Fault Responses in SAP NetWeaver XI -
Hi,
I am using webservices in my flex apps.As of now I have hard
coded the URL's in the mxml code but I want to move away from hard
coding and use some property file kinda thing.I know how to pass
parameters to Flex app using flashvars but what I want to do is to
have a configuration file to specify my URL's for DEV, QA and Prod.
Any suggestions will be greatly appreciated.!
ThanksYou can use HTTPService to load a file at run-time.
But why not just have Dev,QA, and Prod versions of the HTML
wrapper?
If you have a LOT of configuration data, use the HTTPService
to load a file. Actually, I do both.
Tracy -
Error on Client WebService generation
Dear all,
I am trying to generate a client webservice for Microsoft Exchange Server from the exchange.wsdl.
While generation I get the following error.
+Incorrect value: XSD-Namensraum http://schemas.microsoft.com/exchange/services/2006/types nicht verfügbar
Exception of class CX_SIDL+
Does anybody knows what this means and how I can fix this to generate the client proxy from the WSDL.
Best regards
RomanHi,
Thanks for sharing the doc.
I had followed the steps as mentioned in the doc.
After specifying default mappings(Package name and Root Package Type) , I continued with the creation of Proxy.
When I click on the Finish button I am getting the mentioned error.
I can create proxy if I don't mention the default mappings.
Thakns -
Define the WebService action URL as a parameter
Hi there,
I would like to ask a question related to the use of the WebService action block.
I've been using this action with no major issues, but would like to set the WSDL URL to be defined by a parameter. It could be in the shared memory, in the global properties, or somewhere else that is centralized. I've done some testing on this, but had no success...
Every real world project will have at least three different environments (DEV, QA and PRD), each with different settings for the web services that it must connect to, so I believe that a lot of people have dealt with this kind of problem.
Please give me your insight on how to do that.
I'm hoping not to get the answer: go to each action block and change the URL manually....
Thanks!Sorry Jamie,
which is exactly the action parameter to which i can link dinamically different soap address?
I'm using 12.0.11 build (21) and I can see in the action these parameters:
WSDLBaseUrl
WSDLURL
Username
Password ecc..
Should I pass the link to the WSDL or what?
For example I have 3 web services on different machine (web services are identical), only deployed in different machines
Should I pass to WSDLBaseUrl, after importing the structure
"http://hostname:port/SapImport/WebService.asmx?WSDL"
or something else?
Thanks
Mauro -
Configure webservice context url
Hi
I´m developing a jax-ws Web Service over Weblogic 11g.
Every thing works fine, but I need to configure de URL in which this WS is deployed (I´m working on the server side, not on client). Now, this URL is http://localhost:7001/myContextApp/TestWSImplService.
Line: -----
@WebService(name = "myTestService", serviceName = "myTestServiceProvider", targetNamespace = "http://myWeb/services/")
public interface TestWS;
Line: -----
@WebService
public class TestWSImpl implements TestWS
Line: -----
I tried to use [JAX-WS Bindings Custumizations|http://docs.oracle.com/cd/E27086_05/help/oracle.eclipse.tools.weblogic.doc/html/webservices/start.html#customiz], but I think this is not what I was looking for.
Any idea would be apreciate.
Thankstry providing servicename for interface
@WebService()
public interface TestWS;
@WebService(name = "myTestService", serviceName = "myTestServiceProvider", targetNamespace = "http://myWeb/services/")
public class TestWSImpl implements TestWS
Regards,
Sunil P -
Call webservice through URL (without client implementation)
Hello,
I am a newbie in webservices development. I have created my webservice, invoked it with a java client and everything works well.
But I was wondering if it is possible to call a webservice directly by entering a URL in my browser.
What I really need to do is to change the href property of the <a> tag in HTML like this :
<a href="url_to_call_my_webservice"> my link to webservice </a>Can I do this?So, how do I do to call my webservice? Do I have to link to another page which creates a client and call my webservice ?
What if I need a webservice to get an image like this :
<img src="my_webservice_to_get_my_image">Is a servlet a better solution?
Thanks for your help! -
WebService generation from existing WSDL file :(
Hello,
I have just tried to create a WebService from an existing WSDL (which has been developed and validated with Eclipse) with JDeveloper and got the follwing stack trace. I do not think, that this error message is very usefull, because I can't see the point where it referes to my WSDL document. By the way, the Eclipse validation went through without having any trouble.
Here are my JDeveloper coordinates to give you the chance to follow up:
- Studio Edition Version 11.1.1.1.0
- Build JDEVADF_11.1.1.1.0_GENERIC_090615.0017.5407
Running JDeveloper in MacOSX:
- Version 10.5.8
- Build 9L31a
Cheers,
Chris
*** ERROR STACK TRACE ***
oracle.jdeveloper.webservices.model.WebServiceException: Error creating model from wsdl "file:/Users/user/Documents/workspace/Service/Service_V_1.wsdl": For input string: "1 "
at oracle.jdeveloper.webservices.model.java.JavaWebService.createPortTypes(JavaWebService.java:1628)
at oracle.jdeveloper.webservices.model.WebService.createServiceFromWSDL(WebService.java:2845)
at oracle.jdeveloper.webservices.model.WebService.createServiceFromWSDL(WebService.java:2610)
at oracle.jdeveloper.webservices.model.java.JavaWebService.setDescription(JavaWebService.java:750)
at oracle.jdevimpl.webservices.wizard.jaxrpc.topdown.TDJaxWsSpecifyWsdlPanel.setDescription(TDJaxWsSpecifyWsdlPanel.java:353)
at oracle.jdevimpl.webservices.wizard.jaxrpc.common.SpecifyWsdlPanel.buildModel(SpecifyWsdlPanel.java:1085)
at oracle.jdevimpl.webservices.wizard.jaxrpc.common.SpecifyWsdlPanel$6.run(SpecifyWsdlPanel.java:644)
at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:643)
at java.lang.Thread.run(Thread.java:637)
Caused by: oracle.j2ee.ws.common.tools.api.ValidationException: Error creating model from wsdl "file:/Users/user/Documents/workspace/Service/Service_V_1.wsdl": For input string: "1 "
at oracle.j2ee.ws.tools.wsa.jaxws.JaxwsWsdlToJavaTool.getJAXWSModel(JaxwsWsdlToJavaTool.java:655)
at oracle.j2ee.ws.tools.wsa.WsdlToJavaTool.createJAXWSModel(WsdlToJavaTool.java:475)
at oracle.j2ee.ws.tools.wsa.Util.getJaxWsSeiInfo(Util.java:1358)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at oracle.jdeveloper.webservices.Assembler$2$1.invoke(Assembler.java:234)
at $Proxy46.getJaxWsSeiInfo(Unknown Source)
at oracle.jdeveloper.webservices.model.java.JavaWebService.getSeiInfo(JavaWebService.java:1724)
at oracle.jdeveloper.webservices.model.java.JavaWebService.createPortTypes(JavaWebService.java:1469)
... 8 more
Caused by: java.lang.NumberFormatException: For input string: "1 "
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
at java.lang.Integer.parseInt(Integer.java:456)
at java.lang.Integer.parseInt(Integer.java:497)
at com.sun.xml.xsom.impl.parser.state.occurs.action2(occurs.java:50)
at com.sun.xml.xsom.impl.parser.state.occurs.text(occurs.java:267)
at com.sun.xml.xsom.impl.parser.state.NGCCRuntime.consumeAttribute(NGCCRuntime.java:303)
at com.sun.xml.xsom.impl.parser.state.occurs.text(occurs.java:237)
at com.sun.xml.xsom.impl.parser.state.NGCCRuntime.sendText(NGCCRuntime.java:394)
at com.sun.xml.xsom.impl.parser.state.NGCCHandler.spawnChildFromText(NGCCHandler.java:98)
at com.sun.xml.xsom.impl.parser.state.particle.text(particle.java:728)
at com.sun.xml.xsom.impl.parser.state.NGCCRuntime.processPendingText(NGCCRuntime.java:197)
at com.sun.xml.xsom.impl.parser.state.NGCCRuntime.endElement(NGCCRuntime.java:273)
at org.xml.sax.helpers.XMLFilterImpl.endElement(XMLFilterImpl.java:546)
at com.sun.tools.xjc.util.SubtreeCutter.endElement(SubtreeCutter.java:108)
at org.xml.sax.helpers.XMLFilterImpl.endElement(XMLFilterImpl.java:546)
at org.xml.sax.helpers.XMLFilterImpl.endElement(XMLFilterImpl.java:546)
at com.sun.tools.xjc.reader.xmlschema.parser.CustomizationContextChecker.endElement(CustomizationContextChecker.java:194)
at org.xml.sax.helpers.XMLFilterImpl.endElement(XMLFilterImpl.java:546)
at com.sun.tools.xjc.reader.internalizer.DOMForestScanner$LocationResolver.endElement(DOMForestScanner.java:135)
at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:251)
at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:277)
at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:246)
at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:277)
at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:246)
at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:277)
at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:246)
at com.sun.xml.bind.unmarshaller.DOMScanner.scan(DOMScanner.java:123)
at com.sun.tools.xjc.reader.internalizer.DOMForestScanner.scan(DOMForestScanner.java:89)
at com.sun.tools.xjc.reader.internalizer.DOMForestScanner.scan(DOMForestScanner.java:97)
at com.sun.tools.xjc.reader.internalizer.DOMForestParser.parse(DOMForestParser.java:99)
at com.sun.tools.xjc.ModelLoader$XMLSchemaParser.parse(ModelLoader.java:262)
at com.sun.xml.xsom.impl.parser.NGCCRuntimeEx.parseEntity(NGCCRuntimeEx.java:301)
at com.sun.xml.xsom.impl.parser.NGCCRuntimeEx.importSchema(NGCCRuntimeEx.java:207)
at com.sun.xml.xsom.impl.parser.state.importDecl.action0(importDecl.java:45)
at com.sun.xml.xsom.impl.parser.state.importDecl.leaveElement(importDecl.java:156)
at com.sun.xml.xsom.impl.parser.state.NGCCRuntime.endElement(NGCCRuntime.java:275)
at org.xml.sax.helpers.XMLFilterImpl.endElement(XMLFilterImpl.java:546)
at com.sun.tools.xjc.util.SubtreeCutter.endElement(SubtreeCutter.java:108)
at org.xml.sax.helpers.XMLFilterImpl.endElement(XMLFilterImpl.java:546)
at org.xml.sax.helpers.XMLFilterImpl.endElement(XMLFilterImpl.java:546)
at com.sun.tools.xjc.reader.xmlschema.parser.CustomizationContextChecker.endElement(CustomizationContextChecker.java:194)
at org.xml.sax.helpers.XMLFilterImpl.endElement(XMLFilterImpl.java:546)
at com.sun.tools.xjc.reader.internalizer.DOMForestScanner$LocationResolver.endElement(DOMForestScanner.java:135)
at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:251)
at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:277)
at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:246)
at com.sun.xml.bind.unmarshaller.DOMScanner.scan(DOMScanner.java:123)
at com.sun.tools.xjc.reader.internalizer.DOMForestScanner.scan(DOMForestScanner.java:89)
at com.sun.tools.xjc.reader.internalizer.DOMForestScanner.scan(DOMForestScanner.java:97)
at com.sun.tools.xjc.reader.internalizer.DOMForestParser.parse(DOMForestParser.java:99)
at com.sun.tools.xjc.ModelLoader$XMLSchemaParser.parse(ModelLoader.java:262)
at com.sun.xml.xsom.impl.parser.NGCCRuntimeEx.parseEntity(NGCCRuntimeEx.java:301)
at com.sun.xml.xsom.impl.parser.ParserContext.parse(ParserContext.java:88)
at com.sun.xml.xsom.parser.XSOMParser.parse(XSOMParser.java:147)
at com.sun.xml.xsom.parser.XSOMParser.parse(XSOMParser.java:136)
at com.sun.tools.xjc.ModelLoader.createXSOM(ModelLoader.java:516)
at com.sun.tools.xjc.api.impl.s2j.SchemaCompilerImpl.bind(SchemaCompilerImpl.java:237)
at com.sun.tools.xjc.api.impl.s2j.SchemaCompilerImpl.bind(SchemaCompilerImpl.java:85)
at oracle.j2ee.ws.common.tools.databinding.jaxb20.JAXB20TypeGenerator.generateJavaTypes(JAXB20TypeGenerator.java:117)
at oracle.j2ee.ws.tools.wsa.SchemaTool.genValueTypes(SchemaTool.java:186)
at oracle.j2ee.ws.tools.wsa.jaxws.JaxwsWsdlToJavaTool.getJAXWSModel(JaxwsWsdlToJavaTool.java:638)
... 18 moreHello puthanampatti,
that was exactly what I tried right now ;-)
I figured that JDeveloper has a more strict validation than Eclipse and recognizes white spaces within certain tags.
When I have cleaned my WSDL and XSD files I started with a new procedure of generating WebServices (form local JDeveloper files) and encountered the following issue:
Invoking command: [ from oracle.ideimpl.palette2.GroupDockable ]
Performing action New...[ from oracle.ide.navigator.ProjectNavigatorWindow ]
Performing action About[ from oracle.ide.navigator.ProjectNavigatorWindow ]
Invoking command: [ from oracle.ide.navigator.ProjectNavigatorWindow ]
Performing action New...[ from oracle.ide.navigator.ProjectNavigatorWindow ]
Invoking command: !NLS Some Name
Invoking command:
Invoking command: Paste[ from oracle.ide.ceditor.CodeEditor ]
Performing action Save[ from oracle.ide.ceditor.CodeEditor ]
Invoking command: [ from oracle.ide.ceditor.CodeEditor ]
Started CommandProcessor transaction: Auto Save Actions on thread AWT-EventQueue-0 at batch level 1
Finished CommandProcessor transaction on thread AWT-EventQueue-0 at batch level 0
Performing action Reformat[ from oracle.ide.ceditor.CodeEditor ]
Started CommandProcessor transaction: Reformat on thread AWT-EventQueue-0 at batch level 1
Invoking command: Reformat
Finished CommandProcessor transaction on thread AWT-EventQueue-0 at batch level 0
Performing action Save[ from oracle.ide.ceditor.CodeEditor ]
Invoking command: [ from oracle.ide.ceditor.CodeEditor ]
Started CommandProcessor transaction: Auto Save Actions on thread AWT-EventQueue-0 at batch level 1
Finished CommandProcessor transaction on thread AWT-EventQueue-0 at batch level 0
Performing action New...[ from oracle.ide.navigator.ProjectNavigatorWindow ]
Invoking command:
Invoking command: New XML Schema
Performing action Rename...[ from oracle.ide.navigator.ProjectNavigatorWindow ]
Started CommandProcessor transaction: Rename File on thread AWT-EventQueue-0 at batch level 1
Invoking command: noname[ from oracle.ide.navigator.ProjectNavigatorWindow ]
Finished CommandProcessor transaction on thread AWT-EventQueue-0 at batch level 0
Performing action Clear[ from oracle.ide.log.MessagePage ]
Invoking command: Paste[ from oracle.ide.ceditor.CodeEditor ]
Performing action Save[ from oracle.ide.ceditor.CodeEditor ]
Invoking command: [ from oracle.ide.ceditor.CodeEditor ]
Started CommandProcessor transaction: Auto Save Actions on thread AWT-EventQueue-0 at batch level 1
Finished CommandProcessor transaction on thread AWT-EventQueue-0 at batch level 0
Performing action Reformat[ from oracle.ide.ceditor.CodeEditor ]
Started CommandProcessor transaction: Reformat on thread AWT-EventQueue-0 at batch level 1
Invoking command: Reformat
Finished CommandProcessor transaction on thread AWT-EventQueue-0 at batch level 0
Performing action Save[ from oracle.ide.ceditor.CodeEditor ]
Invoking command: [ from oracle.ide.ceditor.CodeEditor ]
Started CommandProcessor transaction: Auto Save Actions on thread AWT-EventQueue-0 at batch level 1
Finished CommandProcessor transaction on thread AWT-EventQueue-0 at batch level 0
Invoking command: Delete Next[ from oracle.ide.ceditor.CodeEditor ]
Performing action Save[ from oracle.ide.ceditor.CodeEditor ]
Invoking command: [ from oracle.ide.ceditor.CodeEditor ]
Started CommandProcessor transaction: Auto Save Actions on thread AWT-EventQueue-0 at batch level 1
Finished CommandProcessor transaction on thread AWT-EventQueue-0 at batch level 0
Performing action Validate XML[ from oracle.ide.ceditor.CodeEditor ]
Invoking command: Insert Line[ from oracle.ide.ceditor.CodeEditor ]
Invoking command: Delete Previous[ from oracle.ide.ceditor.CodeEditor ]
Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
Invoking command: Delete Previous[ from oracle.ide.ceditor.CodeEditor ]
Invoking command: Insert Tab[ from oracle.ide.ceditor.CodeEditor ]
Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
Invoking command: Delete Previous[ from oracle.ide.ceditor.CodeEditor ]
Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
Performing action Save[ from oracle.ide.ceditor.CodeEditor ]
Invoking command: [ from oracle.ide.ceditor.CodeEditor ]
Started CommandProcessor transaction: Auto Save Actions on thread AWT-EventQueue-0 at batch level 1
Finished CommandProcessor transaction on thread AWT-EventQueue-0 at batch level 0
Invoking command: Attribute Completion[ from oracle.ide.ceditor.CodeEditor ]
Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
Performing action Constraints[ from oracle.ide.ceditor.CodeEditor ]
Invoking command: Attribute Completion[ from oracle.ide.ceditor.CodeEditor ]
Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
Performing action Save[ from oracle.ide.ceditor.CodeEditor ]
Invoking command: [ from oracle.ide.ceditor.CodeEditor ]
Started CommandProcessor transaction: Auto Save Actions on thread AWT-EventQueue-0 at batch level 1
Finished CommandProcessor transaction on thread AWT-EventQueue-0 at batch level 0
Invoking command: Insert Line[ from oracle.ide.ceditor.CodeEditor ]
Performing action Reformat[ from oracle.ide.ceditor.CodeEditor ]
Started CommandProcessor transaction: Reformat on thread AWT-EventQueue-0 at batch level 1
Invoking command: Reformat
Finished CommandProcessor transaction on thread AWT-EventQueue-0 at batch level 0
Performing action Save[ from oracle.ide.ceditor.CodeEditor ]
Invoking command: [ from oracle.ide.ceditor.CodeEditor ]
Started CommandProcessor transaction: Auto Save Actions on thread AWT-EventQueue-0 at batch level 1
Finished CommandProcessor transaction on thread AWT-EventQueue-0 at batch level 0
Performing action Toggle Line Numbers[ from oracle.ide.ceditor.CodeEditorGutter$GutterView ]
Performing action Save[ from oracle.ide.navigator.ProjectNavigatorWindow ]
Invoking command: [ from oracle.ide.navigator.ProjectNavigatorWindow ]
Performing action New...[ from oracle.ide.navigator.ProjectNavigatorWindow ]
Uncaught exception
java.lang.NullPointerException
com.apple.laf.AquaListUI.repaintCell(AquaListUI.java:132)
com.apple.laf.AquaComboBoxUI$CoreAquaItemListener$1.paintSelected(AquaComboBoxUI.java:94)
com.apple.laf.AquaUtils.blinkMenu(AquaUtils.java:200)
com.apple.laf.AquaComboBoxUI$CoreAquaItemListener.itemStateChanged(AquaComboBoxUI.java:92)
jx.s.JComboBox.fireItemStateChanged(JComboBox.java:1205)
jx.s.JComboBox.selectedItemChanged(JComboBox.java:1262)
jx.s.JComboBox.setSelectedItem(JComboBox.java:564)
o.javatools.ui.combo.JTreeCombo$TreeClickListener.mouseClicked(JTreeCombo.java:208)
j.a.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:253)
j.a.Component.processMouseEvent(Component.java:6304)
jx.s.JComponent.processMouseEvent(JComponent.java:3265)
j.a.Component.processEvent(Component.java:6066)
j.a.Container.processEvent(Container.java:2085)
j.a.Component.dispatchEventImpl(Component.java:4667)
j.a.Container.dispatchEventImpl(Container.java:2143)
j.a.Component.dispatchEvent(Component.java:4497)
j.a.LightweightDispatcher.retargetMouseEvent(Container.java:4600)
j.a.LightweightDispatcher.processMouseEvent(Container.java:4273)
j.a.LightweightDispatcher.dispatchEvent(Container.java:4194)
j.a.Container.dispatchEventImpl(Container.java:2129)
j.a.Window.dispatchEventImpl(Window.java:2475)
j.a.Component.dispatchEvent(Component.java:4497)
j.a.EventQueue.dispatchEvent(EventQueue.java:635)
j.a.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:205)
j.a.Dialog$1.run(Dialog.java:1051)
j.a.Dialog$3.run(Dialog.java:1103)
j.security.AccessController.doPrivileged(Native Method)
j.a.Dialog.show(Dialog.java:1101)
j.a.Component.show(Component.java:1516)
j.a.Component.setVisible(Component.java:1468)
j.a.Window.setVisible(Window.java:841)
j.a.Dialog.setVisible(Dialog.java:991)
o.bali.ewt.wizard.WizardDialog.runDialog()
o.bali.ewt.wizard.WizardDialog.runDialog()
o.i.dialogs.WizardLauncher.runDialog(WizardLauncher.java:51)
o.ji.webservices.wizard.jaxrpc.TopDownWizard.runWizard(TopDownWizard.java:571)
o.ji.webservices.wizard.jaxrpc.TopDownWizard.runWizard(TopDownWizard.java:195)
o.ji.webservices.wizard.jaxrpc.TopDownWizard.invoke(TopDownWizard.java:141)
o.i.wizard.WizardManager.invokeWizard(WizardManager.java:317)
o.i.wizard.WizardManager$1.run(WizardManager.java:365)
o.i.util.IdeUtil$3.run(IdeUtil.java:1079)
o.javatools.util.SwingUtils.invokeAfterRepaint(SwingUtils.java:520)
o.i.util.IdeUtil.invokeAfterRepaint(IdeUtil.java:1092)
o.i.wizard.WizardManager$2.run(WizardManager.java:373)
o.i.util.IdeUtil$3.run(IdeUtil.java:1079)
o.javatools.util.SwingUtils.invokeAfterRepaint(SwingUtils.java:520)
o.i.util.IdeUtil.invokeAfterRepaint(IdeUtil.java:1092)
o.i.wizard.WizardManager.invokeSecondaryWizard(WizardManager.java:369)
o.i.gallery.ObjectGallery.invokeWizard(ObjectGallery.java:386)
o.i.gallery.ObjectGallery.runDialog(ObjectGallery.java:208)
o.i.gallery.ObjectGallery.runDialog(ObjectGallery.java:128)
o.i.gallery.ObjectGalleryAddin._invokeGallery(ObjectGalleryAddin.java:333)
o.i.gallery.ObjectGalleryAddin.handleEvent(ObjectGalleryAddin.java:206)
o.i.controller.IdeAction.performAction(IdeAction.java:524)
o.i.controller.IdeAction.actionPerformedImpl(IdeAction.java:866)
o.i.controller.IdeAction.actionPerformed(IdeAction.java:496)
jx.s.AbstractButton.fireActionPerformed(AbstractButton.java:2028)
jx.s.AbstractButton$Handler.actionPerformed(AbstractButton.java:2351)
jx.s.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
jx.s.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
jx.s.AbstractButton.doClick(AbstractButton.java:389)
jx.s.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1225)
com.apple.laf.AquaMenuItemUI.doClick(AquaMenuItemUI.java:120)
jx.s.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1266)
j.a.Component.processMouseEvent(Component.java:6301)
jx.s.JComponent.processMouseEvent(JComponent.java:3265)
j.a.Component.processEvent(Component.java:6066)
j.a.Container.processEvent(Container.java:2085)
j.a.Component.dispatchEventImpl(Component.java:4667)
j.a.Container.dispatchEventImpl(Container.java:2143)
j.a.Component.dispatchEvent(Component.java:4497)
j.a.LightweightDispatcher.retargetMouseEvent(Container.java:4600)
j.a.LightweightDispatcher.processMouseEvent(Container.java:4264)
j.a.LightweightDispatcher.dispatchEvent(Container.java:4194)
j.a.Container.dispatchEventImpl(Container.java:2129)
j.a.Window.dispatchEventImpl(Window.java:2475)
j.a.Component.dispatchEvent(Component.java:4497)
j.a.EventQueue.dispatchEvent(EventQueue.java:635)
j.a.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
j.a.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
j.a.EventDispatchThread.run(EventDispatchThread.java:122)Has anybody a clue about what's going on with my JDev?
Cheers,
chris
Edited by: Christoph E on Oct 19, 2009 4:30 PM -
Updating webservices from source gives me a lot of trouble ...
When adding new methods to my source java code nothing happens when using regenerate from source.
When adding new methods in source and manually extending the generated java interface, regeneration only removes methods from the interface file.
To succeed doing regenerate from source I have to add methods manually in the source class, in the interface and as stubs in the generated wsdl file.We are only trying to help. We certainly don't think you are idiots, and all we are doing is asking questions to find out why this issue is occurring for you.
My area is mainly that of source control, I saw you were using cvs, so I created a simple webservice, made a small change to it, and regenerated it, to see what problems I could find with the CVS integration. On my first pass I found nothing, however I noticed after trying to perform a cvs update that the oracle-webservices.xml file is not being closed correctly after a regeneration from source. I've logged bug 5092195 for this. I don't know if this is the root cause of your issues but it can't help.
If you can provide a set of steps to reproduce the problem you are having adding new methods to the java code, we can try to log more bugs on this and move forward constructively.
Geoff. -
Create WorkInstruction Webservice call; Url is too long Error.
Hi,
I am trying to create a Work Instruction using workflow, the url is very long & the call is failing with error Url is too long (333 > 256)
If I create WI manually from Work Instruction Maintenance with the same url, its working fine.
Response Content:
- <ns2:StandardMessageFault xmlns="http://sap.com/xi/SAPGlobal/GDT" xmlns:ns2="http://sap.com/xi/ME">
<ns2:ErrorCode>12032</ns2:ErrorCode>
<ns2:ErrorMessage>Url is too long (333 > 256)</ns2:ErrorMessage>
</ns2:StandardMessageFault>
Has any one seen this? please advise.
ME Version: 6.0.4.1 Counter 10
Br,
Shridhar..Hello Sergiy,
I tried it on ME 6.1.4.9 Counter 201403061828 and still get the same message Url is too long (328 > 256) (Message 12032)
I understand that MEINT to ME 6.1 integration is through Java API calls, What should be set in 'Partner Service Transaction' for Z_DOCMAS04.?
I could not find the value of it so i referred ME 6.0 and set Visiprise/ERPShopFloorIntegration/frame/workflow/MEWebService/ serviceUrl=manufacturing-services/WorkInstructionService;timeOutInSec=60 and tested.
Let me know if this is correct or we should be using java class, like java:com.sap.me.integration.ERPItemHandler.
Whats the name?. I tried with ERPWorkInstructionHandler and it failed.
Please advise.
Thanks,
Maybe you are looking for
-
Error while execution of BPEL processes in IPM Solution
Hi All, I am working on the IPM Imaging solution in which Invoice data is captured from OFR in XML format , pushed into IPM and then BPEL process is invoked to push the data into apps tables. I am facing following error while invoking a procedure whi
-
IPod Shuffle 2nd Gen -- Great design, awful ear buds.
Bought my first iPod. Decided to get the new 2nd gen Shuffle because of the size. 1GB capacity is fine for going out for a run or doing some other short-term activity. There was great thought in the unit's design -- easy to operate on the street with
-
Is there a printable view option in Mac Mail?
Hi, If I print out a email I get the full header. Is there a printable view option or a way I can select a mail option to not show full header, at least while I print out a email. The way it is now, I end up with one full page of header information a
-
How to send a bigdecimal by DataOutputStream
Hi Folks! Can anybody tell me how i can send a bigDecimal to my client through DataOutputStream object. There are methods in DataOutputStream class for sending long,int,string,double,short and so on BUT there is nothing for bigDecimal. Here is my cod
-
Why not develop a "mouseless" and "barless" Lion
With watching the Mac Lion Video, I just found mouse is not very imoportant as old days; And, like watching the video, all the sidebars top/bottom the window can be hiden - why not develop a mouseless Lion and a new gesture to show/hide bars?