Versioning of Web Services prior to EHP1
Hi!
Right now we are working on PI 7.1 and we wish to have some version control on our web services. I cannot find any explicit versioning system for services in the Service Registry.
Basically I would like to be able to set a Web Service as "deprecated" or similar, if I develop non-backwards-compatible changes.
In EHP1 there are introduced some functionality for versioning of WebServices, but my question is how has this be done prior to EHP1? Anyone experienced this, and is there maybe some other way to solve this?
Thanks!
regards Ole
Hi Ole!
This is the essence of versioning. For a new version you always create a new object (version) keeping the old version. But you do not have to copy all objects from one SWCV to a new one.
You might just copy the ones you want to change and leave the others in the old SWCV. This keeps thing less complex concerning the number of objects in your ESR. On the other hand you always have to take in mind several SWCV when changes have to be done.
You may also say and decide (for yourself) that every time a new SWCV is created ALL objects move to the new SWCV regardless of they are to be changed or not. Doing it this way of course creates a lot of objects in the ESR but you always only have to deal with ONE SWCV knowing the others are completely depreciated. I think this makes thing easier to handle. And who cares about all these "dead" objects in the ESR. They just "eat" a little piece of space in the database and not more.
Regards,
Volker
Similar Messages
-
ColdFusion Developer version and web services
Hi,
Does anyone know if there is a known issue about Web Services
not running on
ColdFusion developer version?
I have been testing the most simple web services on 3
different live servers
and 3 different localhost servers with the same files and got
successful
results on all the live servers, but the same errors on all
the local
servers running on ColdFusion latest developer version. All 6
servers are
running on IIS either on Windows XP or 2000. Below is the
error I get when
I tested it locally:
Could not generate stub objects for web service invocation.
Name:
http://tutorial/ColdFusion/template/webservices/helloworld/helloworld.cfc?wsdl.
WSDL:
http://tutorial/ColdFusion/template/webservices/helloworld/helloworld.cfc?wsdl.
java.net.UnknownHostException: tutorial: tutorial It is
recommended that you
use a web browser to retrieve and examine the requested WSDL
document for
correctness. If the requested WSDL document can't be
retrieved or it is
dynamically generated, it is likely that the target web
service has
programming errors. The error occurred in
D:\tutorial\ColdFusion\template\webservices\helloworld\helloworld.cfm:
line
6
4 : method="getMessage"
5 : returnvariable="aString">
6 : <cfinvokeargument name="name" value="Rob"/>
7 : </cfinvoke>
8 :
Please let me know if you know anything about this.YCIf your developer edition is on your own machine you might be
having proxy server issues.
Find out what your proxy server is and enter it using the
proxyserver="" attribute in cfinvoke -
Need versions of web service standards supported by SAP WAS
Hello Friends,
I need to know web service standards supported by SAP WAS with their versions.
List of Web service specification needed is:
Basic Profile
Attachments Profile
Simple SOAP Binding Profile
WS-Addressing , SOAP Binding, WSDL Binding
Simple Object Access Protocol (SOAP)
Web Services Description Language (WSDL)
JAX-WS
JAX-R (For Registry integration)
Can anyone please provide me with these details?
Thanks and regards,
MayureshI think you have to add the destination in Windows-Preferences-Destination Configuration-Web Service Configuration.
Then you can search it when selecting "web services" as provider
Edited by: Jan Nyfeler on Jun 11, 2010 8:52 AM -
JBO-25080 error on using web service data control
Not getting any responses to this. Is this a bug? and if so, how can I file the bug?
Hi
I'm trying to use Jdev 11g to build a simple web app. The app page uses a web service data control (called "theAssetType"). But I keep getting the following error message when I try to get the "return" message widget onto the page. The name of the service on the server is CM_RJCP2.
By the way - this service works great with the HTTP analyzer - so not sure why it doesn't work in JSF page.
Your help greatly appreciated!
oracle.jbo.NoDefException: JBO-25080: Definition name: CM_RJCP2 does not match the file in which it is loaded from: oracle.myweb.model.theAssetType.CM_RJCP2.CM_RJCP2
at oracle.jbo.mom.DefinitionManager.loadLazyDefinitionObject(DefinitionManager.java:999)
at oracle.jbo.mom.DefinitionManager.loadParent(DefinitionManager.java:1228)
at oracle.jbo.mom.DefinitionManager.loadLazyDefinitionObject(DefinitionManager.java:933)
at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:482)
at oracle.jbo.mom.DefinitionManager.findDefinitionObjectDontCheckName(DefinitionManager.java:433)
at oracle.adf.model.bean.DCBeanDataControl.findStructureDef(DCBeanDataControl.java:1884)
at oracle.adf.model.bean.DCBeanDataControl.getAttributeDefs(DCBeanDataControl.java:1936)
at oracle.adf.model.binding.DCIteratorBinding.getAttributeDefs(DCIteratorBinding.java:3142)
at oracle.jbo.uicli.binding.MyIteratorBinding.getAttributeDefs(JUAccessorIteratorDef.java:494)
at oracle.jbo.uicli.binding.JUCtrlValueBinding.fetchAttrDefs(JUCtrlValueBinding.java:485)
at oracle.jbo.uicli.binding.JUCtrlValueBinding.getAttributeDefs(JUCtrlValueBinding.java:437)
at oracle.jbo.uicli.binding.JUCtrlValueBinding.getAttributeDef(JUCtrlValueBinding.java:511)
at oracle.jbo.uicli.binding.JUCtrlValueBinding.getAttributeDef(JUCtrlValueBinding.java:501)
at oracle.jbo.uicli.binding.JUCtrlValueBinding$1JUAttributeDefHintsMap.<init>(JUCtrlValueBinding.java:3857)
at oracle.jbo.uicli.binding.JUCtrlValueBinding.getAttributeHintsMap(JUCtrlValueBinding.java:3952)
at oracle.jbo.uicli.binding.JUCtrlValueBinding.getHints(JUCtrlValueBinding.java:2417)
at oracle.jbo.uicli.binding.JUCtrlValueBinding.internalGet(JUCtrlValueBinding.java:2379)
at oracle.adfinternal.view.faces.model.binding.FacesCtrlAttrsBinding.internalGet(FacesCtrlAttrsBinding.java:277)
at oracle.adf.model.binding.DCControlBinding.get(DCControlBinding.java:750)
at javax.el.MapELResolver.getValue(MapELResolver.java:164)
at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143)
Edited by: rjcovert on Dec 29, 2009 9:11 AM
Edited by: rjcovert on Jan 3, 2010 8:31 AMHere - for reference is the wsdl
<?xml version="1.0" ?>
- <!-- root element wsdl:definitions defines set of related services
-->
- <wsdl:definitions name="CM_RJCP2" targetNamespace="http://tgbu813etm10:6500/XAIApp/xaiserver/CM_RJCP2" xmlns:xai="http://tgbu813etm10:6500/XAIApp/xaiserver/CM_RJCP2" xmlns:xaixsd="http://tgbu813etm10:6500/XAIApp/xaiserver/CM_RJCP2.xsd" xmlns:schemans1="http://oracle.com/CM_RJCP2.xsd" xmlns:schemans2="http://oracle.com/CM_RJCP2.xsd" xmlns:ouaf="urn:oracle:ouaf" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
- <!--
wsdl:types encapsulates schema definitions of communication types;
here using xsd
-->
- <wsdl:types>
- <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:oracle:ouaf" elementFormDefault="qualified">
- <xsd:element name="Fault">
- <xsd:complexType>
- <xsd:all>
<xsd:element name="ResponseStatus" type="xsd:string" />
<xsd:element name="ResponseCode" type="xsd:int" />
<xsd:element name="ResponseText" type="xsd:string" />
- <xsd:element name="ResponseData" minOccurs="0">
- <xsd:complexType>
<xsd:attribute name="parm1" type="xsd:string" />
<xsd:attribute name="parm2" type="xsd:string" />
<xsd:attribute name="parm3" type="xsd:string" />
<xsd:attribute name="parm4" type="xsd:string" />
<xsd:attribute name="parm5" type="xsd:string" />
<xsd:attribute name="text" type="xsd:string" />
<xsd:attribute name="category" type="xsd:string" />
<xsd:attribute name="numParm" type="xsd:int" />
</xsd:complexType>
</xsd:element>
</xsd:all>
</xsd:complexType>
</xsd:element>
</xsd:schema>
- <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:oracle:ouaf" elementFormDefault="qualified">
- <xsd:simpleType name="dateTime">
- <xsd:restriction base="xsd:token">
<xsd:pattern value="[0-9]{4}-[0-1][0-9]-[0-3][0-9]-[0-2][0-9]:[0-6][0-9]:[0-6][0-9]" />
</xsd:restriction>
</xsd:simpleType>
- <xsd:simpleType name="date">
- <xsd:restriction base="xsd:token">
<xsd:pattern value="[0-9]{4}-[0-1][0-9]-[0-3][0-9]" />
</xsd:restriction>
</xsd:simpleType>
- <xsd:simpleType name="time">
- <xsd:restriction base="xsd:token">
<xsd:pattern value="[0-2][0-9]:[0-6][0-9]:[0-6][0-9]" />
</xsd:restriction>
</xsd:simpleType>
- <xsd:simpleType name="money">
<xsd:restriction base="xsd:decimal" />
</xsd:simpleType>
</xsd:schema>
- <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ouaf="urn:oracle:ouaf" targetNamespace="http://oracle.com/CM_RJCP2.xsd" elementFormDefault="qualified">
<xsd:import namespace="urn:oracle:ouaf" />
- <xsd:element name="CM_RJCP2">
- <xsd:complexType>
- <xsd:sequence>
<xsd:element name="assetType" type="xsd:string" minOccurs="0" />
<xsd:element name="assetTypeDesc" type="xsd:string" minOccurs="0" />
<xsd:element name="assetTypeId" type="xsd:string" minOccurs="0" />
<xsd:element name="boStatus" type="xsd:string" minOccurs="0" />
<xsd:element name="bo" type="xsd:string" minOccurs="0" />
</xsd:sequence>
- <xsd:attribute name="transactionType">
- <xsd:simpleType>
- <xsd:restriction base="xsd:token">
<xsd:enumeration value="READ" />
<xsd:enumeration value="ADD" />
<xsd:enumeration value="UPDT" />
<xsd:enumeration value="DELT" />
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
</xsd:schema>
</wsdl:types>
- <!-- wsdl:message elements describe potential transactions
-->
- <!-- request CM_RJCP2Request is of type CM_RJCP2
-->
- <wsdl:message name="CM_RJCP2Request">
<wsdl:part name="body" element="schemans1:CM_RJCP2" />
</wsdl:message>
- <!-- response CM_RJCP2Response is of type CM_RJCP2Response
-->
- <wsdl:message name="CM_RJCP2Response">
<wsdl:part name="body" element="schemans2:CM_RJCP2" />
</wsdl:message>
- <!-- fault CM_RJCP2Fault is of type CM_RJCP2Fault
-->
- <wsdl:message name="CM_RJCP2Fault">
<wsdl:part name="fault" element="ouaf:Fault" />
</wsdl:message>
- <!-- wsdl:portType describes messages in an operation
-->
- <wsdl:portType name="CM_RJCP2PortType">
- <!-- the value of wsdl:operation eludes me
-->
- <wsdl:operation name="CM_RJCP2">
<wsdl:input message="xai:CM_RJCP2Request" />
<wsdl:output message="xai:CM_RJCP2Response" />
<wsdl:fault name="fault" message="xai:CM_RJCP2Fault" />
</wsdl:operation>
</wsdl:portType>
- <!-- wsdl:binding states a serialization protocol for this service
-->
- <wsdl:binding name="CM_RJCP2SoapBinding" type="xai:CM_RJCP2PortType">
- <!--
leverage off soap:binding document style @@@(no wsdl:foo pointing at
the soap binding)
-->
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
- <!--
semi-opaque container of network transport details classed by
soap:binding above @@@
-->
- <wsdl:operation name="CM_RJCP2">
- <!-- again bind to SOAP? @@@
-->
<soap:operation soapAction="http://tgbu813etm10:6500/XAIApp/xaiserver/CM_RJCP2" />
- <!--
furthur specify that the messages in the wsdl:operation
"CM_RJCP2" use SOAP? @@@
-->
- <wsdl:input>
<soap:body use="literal" namespace="http://tgbu813etm10:6500/XAIApp/xaiserver/CM_RJCP2" />
</wsdl:input>
- <wsdl:output>
<soap:body use="literal" namespace="http://tgbu813etm10:6500/XAIApp/xaiserver/CM_RJCP2" />
</wsdl:output>
- <wsdl:fault name="fault">
<soap:fault name="fault" use="literal" namespace="http://tgbu813etm10:6500/XAIApp/xaiserver/CM_RJCP2" />
</wsdl:fault>
</wsdl:operation>
</wsdl:binding>
- <!-- wsdl:service names a new service "CM_RJCP2Service"
-->
- <wsdl:service name="CM_RJCP2Service">
<wsdl:documentation>CM_RJCP2 version 5: Web service for inbound asset type transaction</wsdl:documentation>
- <!-- connect it to the binding "CM_RJCP2SoapBinding" above
-->
- <wsdl:port name="CM_RJCP2Port" binding="xai:CM_RJCP2SoapBinding">
- <!-- give the binding an network address
-->
<soap:address location="http://tgbu813etm10:6500/XAIApp/xaiserver/CM_RJCP2" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions> -
Web Services inetgration from Workflow 7
Hello,
I work for a consulting company (that is Adobe Tier 2 partner) and we are working on a project that converts a lot of Workfdlows in 6.2 to Workflow 7.0. Part of the conversion is integration with an external EIS - specifically SAP. We played with Web Services QPOAC (version 1.0) and discovered that for complex WSDL it fails to properly parse all complexTYpe parameters used in remote function calls so we cannot even code mappings between form fields (Xpath) and WSDL parameters
For simple WSDLs (such is public translation Web Service http://www.webservicex.net/TranslateService.asmx?WSDL) we cannot get data back froma Web Service call usig Web Services QPAC altough we can trace that the call is made correctly...
Has anybody successfully implemented at least a simple call form Workflow 7.0 to a Web Service via QPAC?
thanks much,
Daniel Zilberman
Primitive Logic
[email protected]Hi Howard,<br /><br />Thanks for your reply - at am now seeing my workflow exposed as a Web Service and my simple type variables all defined as in" variables and "required" - since they all have to be there.<br /><br />Now , how do I test the WF invokation - via the same interface? When I click to the "invoke" method link I see this testing UI:<br /><br />Service Name: AccountsPayable<br />Method Name : invoke<br /> AccountsPayableNonPO02 <br />{http://www.w3.org/2001/XMLSchema}string zzprocname <br />{http://www.w3.org/2001/XMLSchema}string testmode <br />{http://www.w3.org/2001/XMLSchema}string zcompanycode <br />{http://www.w3.org/2001/XMLSchema}string zinvoiceamount <br />{http://www.w3.org/2001/XMLSchema}string zinvoicedate <br />{http://www.w3.org/2001/XMLSchema}string zpaymentterms <br />{http://www.w3.org/2001/XMLSchema}string zpodate <br />{http://www.w3.org/2001/XMLSchema}string zponumber <br />{http://www.w3.org/2001/XMLSchema}string zporequestor <br />{http://www.w3.org/2001/XMLSchema}long zsapinvoicenumber <br />{http://www.w3.org/2001/XMLSchema}string zvendor <br />{http://www.w3.org/2001/XMLSchema}string zvendorinvoicenumber <br />{http://www.w3.org/2001/XMLSchema}string zvendorname <br />{http://www.w3.org/2001/XMLSchema}string zempid <br />{http://www.w3.org/2001/XMLSchema}string zinvoicedesc <br />{http://www.w3.org/2001/XMLSchema}string zmanagername <br />{http://www.w3.org/2001/XMLSchema}string zmanagerjob <br />{http://www.w3.org/2001/XMLSchema}string zmanagerlast <br />{http://www.w3.org/2001/XMLSchema}string zinvoicecreator <br /> <br />Should I just eneter all values and try to click invoke?<br /><br />As for the Web Services QPAC - I'm pleasantly surprised yo9u guys are working on it and I'd like to emphasoize that we need support for collection types in WSDL like in this example:<br /><br /><xsd:element name="Z_AF_ESPPE_UPDATE"><br /><br /> <xsd:complexType><br /> <xsd:all><br /> <xsd:element name="EDATE1" minOccurs="0" type="s0:date"/><br /><br /> <xsd:element name="EDATE2" minOccurs="0" type="s0:date"/><br /><br /> <xsd:element name="EDATE3" minOccurs="0" type="s0:date"/><br /><br /> <xsd:element name="EDATE4" minOccurs="0" type="s0:date"/><br /><br /> <xsd:element name="EMPACTION"><br /> <xsd:simpleType><br /><br /> <xsd:restriction base="xsd:string"><br /><br /> <xsd:maxLength value="1"/><br /><br /> </xsd:restriction><br /><br /> </xsd:simpleType><br /><br /> </xsd:element><br /><br /> <xsd:element name="EMPNUM"><br /> <xsd:simpleType><br /> <xsd:restriction base="xsd:string"><br /> <xsd:maxLength value="8"/><br /> <xsd:pattern value="\d*"/><br /> </xsd:restriction><br /> .. <br /><br /> <xsd:element name="PERCENT1" minOccurs="0"><br /> <xsd:simpleType><br /> <xsd:restriction base="xsd:string"><br /> <xsd:maxLength value="20"/><br /> </xsd:restriction><br /><br /> </xsd:simpleType><br /></xsd:element><br /><br /><xsd:element name="PERCENT2" minOccurs="0"><br /> <xsd:simpleType><br /> <xsd:restriction base="xsd:string"><br /> <xsd:maxLength value="20"/><br /></xsd:restriction><br /></xsd:simpleType><br /></xsd:element><br /><br />...................<br /><br />Current version of Web Services QPAC that comes with WF server 7.0.1 does NOT support these typpes - one has to do what you suggested - wrap data in raw XML and then parse it in script... doesn't work for us! So if you guys can give us a QPAC that has a suport for complex collection tyoes - we'll be VERY interested.<br /><br />thank you again,<br />Dan Zilberman
-
Web services: j2ee 1.4 vs weblogic
hi.
i have been an enterprise java developer for some years now but have not
stepped into web services realm until very recently. one of the reasons
for me holding back was due to this piece of news that i stumbled upon
about 4 months ago. it stated that Sun's implementation of web services
will not be fully functional until its ee 1.4 release. it claimed that
due to this lag, many app server vendors (BEA being one of them) are not
waiting for Sun, but instead developing their own versions of web
service imlementation which are specific to their respective enterprise
environments.. as a result, this would lead away from a standardized
implementation of web services within the java world. what is your take
on this?
thanks!!!Hi Mikhail,
IMHO, Sun absolutely "drug its feet" with the JSRs that eventually resulted in
the "Java Web Services Developer Pack" (JWSDP)! See http://java.sun.com/webservices/downloads/webservicespack.html.
By the time they came up with suitable APIs, all the vendors creating Java-based
implementations of the XML grammars that underly Web services, already had shipping
product ;-) Naturally, they (Sun) would like to see all these vendors move there
product's code-base onto the API in the JWSDP, and I presume some will. The problem
I see with JWSDP is that it doesn't truly address what is still the biggest issue:
interoperability between Microsoft's Web Services tools (.NET, ASP.NET, or whatever)
and the Java-basd Web Services tools. A lot of vendors have already made "substantial
headway" in resolving this problem, and I doubt if they are willing to give this
up ;-)
That said, I think you will find that most J2EE-vendors (can't really speak for
WebLogic, of course) will wait until JWSDP becomes part of a J2EE specification,
before they expend a lot of effort "porting" their Web Service platforms to its
APIs ;-) You should probably pose your question to folks like Graham Glass (from
MindElectric, creators of GLUE) and Anne Thomas Mannes (CTO of Systinet, creators
of WASP). I'm sure they will be forthright and candid with their reply.
Regards,
Mike Wooten
mikhail perelman <[email protected]> wrote:
hi.
i have been an enterprise java developer for some years now but have
not
stepped into web services realm until very recently. one of the reasons
for me holding back was due to this piece of news that i stumbled upon
about 4 months ago. it stated that Sun's implementation of web services
will not be fully functional until its ee 1.4 release. it claimed that
due to this lag, many app server vendors (BEA being one of them) are
not
waiting for Sun, but instead developing their own versions of web
service imlementation which are specific to their respective enterprise
environments.. as a result, this would lead away from a standardized
implementation of web services within the java world. what is your take
on this?
thanks!!! -
Error in Web service creation in CRM 7 Ehp1
Hi,
I am trying to define a web service for the creation of letter templates in CRM 7 Ehp1 system
using the WS_DESIGN_TOOL .But it is giving me error.
The component GDCOIC ,Root object GDCOIRoot, does not have the key structure defined .
So the system does not allows me selection of attribute Virtual Object for IC Web(GDCOIRoot).
Can someone give me a head start as in what could be done ?
Thanks ,
Jayaissue resolved:)
version issue..
SAP NOTE (0001584041 Creating service object from GDCOIC component impossible) implemented. -
How to configure web service destinations in CE 7.1 EhP1 sneak preview?
Hi all
I have downloaded CE7.1 EhP1 sneak preview version from SDN.
I am trying to configure ADS web service destinations on it at the following path:
Open the NetWeaver Administrator using https://<server>:<port>/nwa, and navigate to Configuration Management > Infrastructure Management > Web Services Configuration.
I am not able to locate this.
Could any one please help me with this?
Regards
KapilHi Kapil ,
Use this , http://help.sap.com/saphelp_nwce10/helpdata/en/index.htm
but with one minor change . It is in SOA Management -> Technical Configuration -> Destination Template Management.
Regards
Bharathwaj -
Calling web service from ABAP - version 4.6C
Hi,
I would like to know how to call a web service from ABAP. Version is 4.6C. Any help would be greatly appreciated.
Thank you,
RekhaHi Rekha,
Please go through these..
call web service using ABAP
http://help.sap.com/saphelp_nw04/helpdata/en/a0/da0710b6560a4e80fb94f3f712dfc0/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/e9/ae1b9a5d2cef4ea4b579f19d902871/frameset.htm
Hope these help you!
cheers,
Prashanth -
Deploying Web Service clients to earlier versions of AS
Hello,
I'm using JDeveloper to create web service proxy for existing service to use in my Web Service client. For development, I'm using JDeveloper 10.1.3.3, for deployment of client application I'm using Application Server 10.1.3.0.
The problem is that AS 10.1.3.0 contains other versions of the libraries, for example, wsclient.jar, so, there's an error using Web Service Proxy (stub) as method setSOAPVersion() doesn't exist.
The question is how can I use generated stub with earlier versions of Application Server.
I've tried some things, but they didn't work. Maybe I did something wrong and step-by-step guidelines to deploy application are needed - I hope, it could be useful not only for me.
So, I found JDev 10.1.3 Release Notes (http://www.oracle.com/technology/products/jdev/htdocs/10.1.3.0.3/readme.html) and the following abstract:
Workaround for URL / WS Data Control Apps When Deploying to Third Party Application Servers or Oracle Application Server 10.1.2 (4931009)
1. Copy the following JAR files to your target application server along with the rest of the ADF installed JAR files. The following JAR files are available under your JDeveloper's home directory.
bc4j/jlib/dc-adapters.jar
bc4j/jlib/adf-connections.jar
j2ee/home/lib/http_client.jar
webservices/lib/wsdl.jar
webservices/lib/orajaxr.jar
webservices/lib/orawsrm.jar
webservices/lib/wsclient.jar
webservices/lib/orasaaj.jar
webservices/lib/xsdlib.jar
webservices/lib/mdds.jar
jlib/osdt_core.jar
jlib/osdt_cert.jar
jlib/osdt_xmlsec.jar
jlib/osdt_wss.jar
jlib/osdt_saml.jar
jlib/ojpse.jar
jlib/oraclepki.jar
webservices/lib/wssecurity.jar
webservices/lib/orawsdl.jar
j2ee/home/jazncore.jar
2. Shutdown the application server and modify the application server's class path to include all of the JAR files that were extracted from the archive. Please refer to the application server documentation for details on how to modify the class path.
3. Restart the application server. You are now ready to deploy / run the application successfully.
So, I've created a new Shared Library with Enterprise Manager, uploaded all this files and, deploying application, checked this library too. This didn't help.
Thanks in advance, ValeriyHi Valeriy,
I have exactly the same problem. Have you been able to resolve this yet?
Thanks
Stu -
401 Error on Consuming SharePoint Versions Web Service by java client running on Unix Machine
In my organiszation I have sharepoint site of our project. I have a java client to consume Versions Web Service offered by SharePoint. The response received from web service without any issue when triggered from a client running on windows machine on
intranet.
When same java client ran from UNIX server on same intranet, it gives 401 error. Is there some different approach required for authentication while connecting from unix machine?
Thanks in advance.Hello,
Are you passing credential in code? If not then try to add using networkcredential.
If you are passing then make sure that current user is having access on SP site and your javaserver is setup for NTLM security. Here is few links for same issue which could help you troubleshoot the issue
http://stackoverflow.com/questions/8884152/ntlm-fails-when-consuming-sharepoint-web-service-from-java
http://www.pentalogic.net/sharepoint-products/reminder/reminder-manual?p=troubleshooting%2F401errors%2F401errors.htm
Hope it could help
Hemendra:Yesterday is just a memory,Tomorrow we may never see<br/> Please remember to mark the replies as answers if they help and unmark them if they provide no help -
Leading ? xml version="1.0"? tag when creating / invoking web services
Hello friends. I'm wondering if anyone has any insight as to why I cannot create
a fully formed XML document when developing a web service which includes the standard
<? xml version="1.0" ?> leading tag.
If I include the leading tag in my XML mapping for a jws method, I am unable to
compile the service into an ear, getting the following error: "An unexpected
exception occurred while attempting to process the classes and annotations for
this Web Service." If I do not include the leading tag, I can compile into an
EAR file and invoke the web service from a HTTP POST, but I cannot include the
leading <?xml...> tag in my request. Considering that I'll be asking other vendors
to submit to my web services and creation of xml documents using DOM or other
methods automatically generates the <?xml ...>, I'm hoping I'm not going to have
to tell them to parse out this piece of the files they want to send me. Can anyone
help?
Thanks so much!
CMCM,
I suppose you have set 'http-xml=true' for this to work. For http-xml
protocol, there is no way to specify the leading <?xml> tag, and hence
unfortunately the desired functionality cannot be achieved.
In case, this is very important for you, could you please log a support
case, and then we can file a bug and ask the Engineering to look into it.
Thanks,
Anurag
"Crackhead Millionaire" <[email protected]> wrote in message
news:[email protected]...
>
Hi Anurag -
Thanks for the response. My problem is that I would like to be able tosubmit
straight XML (i.e., not SOAP) to a webservice from an application outsideof Weblogic.
For example, the following code block fails on submission to BEA:
* Example Simple Integration.
import java.io.*;
import java.net.*;
public class testBEAPost {
* Null constructor.
public testBEAPost () {
super();
* This method handles creation of a PeopleSoft XML Envelope, wrapping of
* user input into the envelope, submission of the message to theintegration
broker
* and display of the response message to the screen.
* @created 3.12.2003
* @param argv java.lang.String[] Standard user entry input
public static void main(String[] argv) {
try{
URL url;
URLConnection urlConn;
DataOutputStream printout;
DataInputStream input;
// Create the internal XML document which will be to send to BEA.(hardcoded)
>
String internalXMLDoc = "<? xml version=\"1.0\"?><newlocationxmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"><setid>WMS</setid><l
ocationid>1118UG0000</locationid><description>Electric
UndergroundLocation</description><exceptionemailaddress>[email protected]<
/exceptionemailaddress></newlocation>";
>
// Define the target URL.
url = newURL("http://167.75.117.20:7001/WebServices/PeopleSoftWebServices/NewLocation
Service.jws/createLocation");
>
// Open the Conection
urlConn = url.openConnection();
// Set necessary connection variables.
urlConn.setDoInput (true);
urlConn.setDoOutput (true);
urlConn.setUseCaches (false);
// Specify the content type.
urlConn.setRequestProperty("Content-Type", "text/xml");
// Send POST output.
printout = new DataOutputStream (urlConn.getOutputStream ());
printout.writeBytes (internalXMLDoc);
printout.flush ();
printout.close ();
// Get response data.
input = new DataInputStream (urlConn.getInputStream ());
String str;
while (null != ((str = input.readLine())))
System.out.println (str);
input.close ();
} catch (Exception e)
System.out.println(e);
If I run this program, I get a java.io.IOException with the serverreturning a
500 error code. However, if I strip out the leading <? xml version="1.0"?> tag
and submit to the web service, it works fine. My program set I createdthis example
for uses DOM to create the document, so I'm actually creating thedocument, getting
the String value of it, then parsing out the leading tag beforesubmission. My
problem is that soon I'll be dealing with third parties who may havetrouble generating
SOAP requests (don't ask), so I'd like to be able to tell them to generatesimple
XML documents to send to BEA if at all possible.
Can you assist? Thanks so much.
"Anurag Pareek" <[email protected]> wrote:
CM,
A SOAP message generated by a Workshop web service, when it acts as a
client
to another service, always contains the leading <?xml> tag. Here is a
sample
of a SOAP message generated by Workshop:
POST /TestImport/TestAny/TestAny.jws HTTP/1.0
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client
Protocol 1.0.3705.0; BEA WLW 7.0)
SOAPAction: "http://www.openuri.org/hello2"
Host: localhost
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: Keep-Alive
Content-Length: 398
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Body>
<hello2 xmlns="http://www.openuri.org/">
<o></o>
</hello2>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
It seems to me that what you are asking for is already there. Could you
please elaborate your issue further, probably with a sample of a XML
message
which you feel is not accepted by Workshop, but should be.
Thanks,
Anurag
"Crackhead Millionaire" <[email protected]> wrote in message
news:[email protected]...
Hello friends. I'm wondering if anyone has any insight as to why Icannot
create
a fully formed XML document when developing a web service which
includes
the standard
<? xml version="1.0" ?> leading tag.
If I include the leading tag in my XML mapping for a jws method, Iam
unable to
compile the service into an ear, getting the following error: "Anunexpected
exception occurred while attempting to process the classes and
annotations
for
this Web Service." If I do not include the leading tag, I can compileinto an
EAR file and invoke the web service from a HTTP POST, but I cannotinclude
the
leading <?xml...> tag in my request. Considering that I'll be askingother vendors
to submit to my web services and creation of xml documents using DOMor
other
methods automatically generates the <?xml ...>, I'm hoping I'm notgoing
to have
to tell them to parse out this piece of the files they want to sendme.
Can anyone
help?
Thanks so much!
CM -
Best Practice for WSDL Generate Proxy Class for Web Service with Two Versions
Dear All
Thank you in advance for you help.
I would like to generate proxy classes for same function but with two versions.
Old version web service (v23.2) is used for stable modules in a project which is not going to modify.
However, enhancement is added in new version web service (v24) and is going to use in any future modules.
For example,
wsdl.exe -o="TestProxy.cs" -l:CS -n:Test -sharetypes https://community.workday.com/custom/developer/API/Notification/v23.2/Notification.wsdl https://community.workday.com/custom/developer/API/Notification/v24.0/Notification.wsdl
It generates similar classes with an '1' added at the end of the class name.
ublic partial class Event_TargetObjectType {
private Event_TargetObjectIDType[] idField;
public partial class Event_TargetObjectType1 {
private Event_TargetObjectIDType1[] idField; ...}
Since the function inside some class is the same, is it possible for WSDL.exe to generate proxy classes automatically that if the class is the same, then generate one class only (sameFunction()) but if it detects the class is different, then add '1'
to the end of class name (differentFunction() and differentFunction1())
i.e.
public class sameFunction()
public class differentFunction()
private int a;}
public class differentFunction1()
{ private int b;
Best Regards
mintssoulHi mintssoul,
As per this case, I have shared corresponding details below :
1.As far as I know, WCF doesn’t support method overloading directly
2.Because WSDL doesn’t support method overloading (not OOPs).
3.WCF generates WSDL which specifies the location of the service and the operation or methods the service exposes.
4.WCF use Document/Literal WSDL Style : Microsoft proposed this standard where the soap body element will contain the web method name.
5.By default all the WCF services conform to the document literal standard where the soap body should include the method name.
6.but you can differ the method in the same manually by using Name attribute like below
For example:
[OperationContract(Name="Integers")]
int Display(int a,int b)
[OperationContract(Name="Doubles")]
double Display(double a,double b)
7. Or I suggest you that can use svcutil to map multiple namespaces for generating wcf service proxies .
for more information about this, refer here :
http://stackoverflow.com/questions/1103686/use-svcutil-to-map-multiple-namespaces-for-generating-wcf-service-proxies -
Unsupported Version error when trying to run Web Services Tutorial example
Hi there,
I'm trying to run the first example from the Java Web Services Tutorial and get the following error when I type 'asant build' in my Command Window.
Buildfile: build.xml
BUILD FAILED
java.lang.UnsupportedClassVersionError: com/sun/tools/ws/ant/WsImport (Unsupport
ed major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
at org.apache.tools.ant.loader.AntClassLoader2.defineClassFromData(AntCl
assLoader2.java:76)
When I do a java -version I see my version is Java 1.5, and I'm not sure why the build is still trying to use Java 1.4. I do not want to delete the 1.4 from my machine as it is used for something else.
C:\jwstutorial20\examples\jaxws\helloservice>java -version
java version "1.5.0_09"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_09-b03)
Java HotSpot(TM) Client VM (build 1.5.0_09-b03, mixed mode, sharing)
Could you please help me with this problem?
Thanks in advance.
Azeem.Hi Azeem.
Check out values specified for JAVA_HOME, PATH and CLASSPATH under environment variable. Was facing the same problem. Changed the values to point to jdk1.5 and it is working now.
BTW.
You don't have to uninstall jdk1.4.
Cheers!!! -
Error Calling Web Service - VersionMismatch Wrong SOAP Version
Hello,
I am attempting to create a web service from a function module, and to call this web service from outside of SAP.
I used the Web Service Creation Wizard to create a web service from BAPI_CURRENCY_GETLIST, and tested it using the Web Service Homepage button from transaction WSADMIN. Everything seems to work OK so far.
To test calling the web service, I copied the SOAP envelope from the web service homepage into a vbscript file:
Const HOST = "http://<server>.<domain>:<port>"
Const URL = "/sap/bc/srt/rfc/sap/ZWSD_Currency?sap-client=<nnn>"
' Create the HTTP object
Set xmlhttp = CreateObject("Microsoft.XMLHTTP")
Dim Request
Request = "<?xml version=""1.0"" encoding=""UTF-8"" ?>" & _
"<SOAP-ENV:Envelope xmlns:SOAP-ENV=""http://schemas.xmlsoap.org/soap/envelope"" xmlns:xsi=""http://www.w3.org/2001/XMLSchema"" xmlns:xs=""http://www.w3.org/2001/XMLSchema-instance"">" & _
"<SOAP-ENV:Header>" & _
"<sapsess:Session xmlns:sapsess=""http://www.sap.com/webas/630/soap/features/session/"">" & _
"<enableSession>true</enableSession>" & _
"</sapsess:Session>" & _
"</SOAP-ENV:Header>" & _
"<SOAP-ENV:Body>" & _
"<ns1:CurrencyGetlist xmnls:ns1='urn:sap-com:document:sap:soap:functions:mc-style'>" & _
"<CurrencyList><item>" & _
"<CURRENCY></CURRENCY>" & _
"<CURRENCY_ISO></CURRENCY_ISO>" & _
"<ALT_CURR></ALT_CURR>" & _
"<VALID_TO></VALID_TO>" & _
"<LONG_TEXT></LONG_TEXT>" & _
"</item></CurrencyList>" & _
"</ns1:CurrencyGetlist>" & _
"</SOAP-ENV:Body>" & _
"</SOAP-ENV:Envelope>"
xmlhttp.open "POST", HOST & URL, False
xmlhttp.send (request)
MsgBox (xmlhttp.responseXML.xml)
When I execute the vbscript, the response is
<soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelop/">
<soap-env:Body>
<soap-env:Fault>
<faultcode>
soap-env:VersionMismatch
</faultcode>
<faultstring xml:lang="en">
Wrong SOAP Version
</faultstring>
</soap-env:Fault>
</soap-env:Body>
</soap-env:Envelope>
The system log (transaction SM21) contains the messages:
SOAP Runtime: SOAP Fault exception occurred in program CL_SOAP_MESSAGE===============CP in include CL_SOAP_ME SSAGE===============CM00X at position 34
SOAP Runtime: Exception message: Severe processing error; SOAP fault handling required
In the RFC trace (transaction SM59) I see
XRFC> INFO 14:25:10: SOAP Transport Binding CL_SOAP_TRANSPORT_BINDING <
XRFC> ROOT->IFSOAP_TRANSPORT_BINDING~RESPONSE() Try to create response <
XRFC> message <
XRFC> <
XRFC> INFO 14:25:10: SOAP Transport Binding CL_SOAP_TRANSPORT_BINDING <
XRFC> ROOT->IFSOAP_TRANSPORT_BINDING~RESPONSE() Response message <
XRFC> created <
XRFC> <
XRFC> INFO 14:25:10: SOAP Transport binding CL_SOAP_HTTP_TPBND_ROOT <
XRFC> ->IF_SOAP_TRANSPORT_BINDING~RECEIVE() Try to receive message <
XRFC> <
XRFC> 20071218 142510 00037640: SOAP Fault Exception caught: : Wrong <
XRFC> SOAP Version <
XRFC> <
XRFC>
XRFC> End of user trace
How can I tell what version(s) of SOAP the NetWeaver 2004 platform supports? Has anyone seen and resolved this error?
Thanks in advance,
MarkHi Anton,
Thanks for the helpful suggestion. I did try setting SOAPAction using xmlhttp.setRequestHeader, but that didn't seem to make any difference. I may not have formatted the SOAP header correctly, however.
What I noticed is that if I added a slash at the end of the xmlns:soap tag in the SOAP envelope, I got a different error message (SOAP Processing failure, error id = 112).
I downloaded version 2.0 of the .NET framework and the SOAPSonar tool. SOAPSonar was able to format the SOAP envelope from the WSDL. When I pasted the SOAP envelope from SOAPSonar into my vbscript file, it worked. So, the vbscript looks like this:
Const HOST = "http://nwr051.nwenergy:1080"
Const URL = "/sap/bc/srt/rfc/sap/ZWSD_Currency?sap-client=100"
Const FORMAT = "dd-MMM-yy"
' Create the HTTP object
Set xmlhttp = CreateObject("Microsoft.XMLHTTP")
Dim Request
Request = "<?xml version=""1.0"" encoding=""utf-8""?>" & _
"<soap:Envelope xmlns:soap=""http://schemas.xmlsoap.org/soap/envelope/"" xmlns:xsi=""http://www.w3.org/2001/XMLSchema-instance"" xmlns:xsd=""http://www.w3.org/2001/XMLSchema"" xmlns:tns=""urn:sap-com:document:sap:soap:functions:mc-style"">" & _
" <soap:Body>" & _
" <tns:CurrencyGetlist>" & _
" <CurrencyList>" & _
" </CurrencyList>" & _
" </tns:CurrencyGetlist>" & _
" </soap:Body>" & _
"</soap:Envelope>"
xmlhttp.open "POST", HOST & URL, False
xmlhttp.send (request)
MsgBox (xmlhttp.responseXML.xml)
Again, thanks for taking the time to read through this and offer your insight.
Regards,
Mark
Maybe you are looking for
-
Condition Pricing Date is Diff. from PO Creation date
Hi, We have created a PO 1100041212 on dtd. 05.05.2011. In PO Conditions tab, i have a field in the detail view ' Condition Pricing Date'. For Condition type P001, it is not showing the PO date. (mostly cases has the same date of PO Creation date) Co
-
Unable to install Epson ICC printer profiles in Lion (access privileges message)
I upgraded to Lion and cannot install Epson ICC printer profiles. When I try to install, the installation is halted with the message that I do not have enough access privileges for this installation. Yes, I am the admin (I checked, as I know this is
-
Can I use Mainstage software instruments in Logic Express 9?
I would like to add more software (MIDI) instruments to Logic Express 9. I understand Mainstage comes with what used to be called Jam Packs. Can I use those Mainstage software instruments in Logic Express 9? If not, where do i find additional softwar
-
Won't Install. Says must be closed. Nothing open. ???
FireFox no longer launches when I click on an active link. I first check "File Associations" and found that to be okay. I next tried to re-install FireFox but it would not proceed because it indicated that it was still "open." Since FireFox was NOT o
-
HT5035 I was not given the full amount of credit when I redeemed my gift card now what ?
I just redeemed a $15 gift card and was credited with 6.45. What do I do?