How to generate list of services?
I've written an annotation processor that I'm using to map classes to integer ids. My generated stub looks like:
//Source
@MyAnnotation
public class Foo
//Generated stub
public class FooStub extends com.kitfox.Stub {
public int getId() { return 1; }
public Class<Foo> getStubClass() { return Foo.class; }
}I would also like to generate an index of all com.kitfox.Stub that I can place in /META-INF/services. Unfortunately, the apt mechanism seems to only present the annotation processor with files that don't have existing .class files generated which makes it difficult to integrate incremental changes into the build process.
Is there a way to force annotation processing to handle all files on the source path regardless of whether .class files exist?
Is there some other way to generate services indices? I imagine there would be a lot of folks wanting to do this.
Mark_McKay wrote:
I've written an annotation processor that I'm using to map classes to integer ids. My generated stub looks like:
//Source
@MyAnnotation
public class Foo
//Generated stub
public class FooStub extends com.kitfox.Stub {
public int getId() { return 1; }
public Class<Foo> getStubClass() { return Foo.class; }
}I would also like to generate an index of all com.kitfox.Stub that I can place in /META-INF/services. Unfortunately, the apt mechanism seems to only present the annotation processor with files that don't have existing .class files generated which makes it difficult to integrate incremental changes into the build process.
Is there a way to force annotation processing to handle all files on the source path regardless of whether .class files exist? The annotation processors are free to examine whatever types they want, including types not being compiled.
Is there some other way to generate services indices? I imagine there would be a lot of folks wanting to do this.See Kohsuke Kawaguchi's META-INF/services generator
http://weblogs.java.net/blog/2009/03/26/my-project-day-meta-infservices-file-generator
His generator also handles incremental compilation.
Similar Messages
-
How to generate Billing for Service Order ?
how to generate Billing for Service Order ?
Hello,
You may do a resource related billing from the service order, but you need to maintain Resource Related billing profile in Service order --> Control tab. Once it is set you may generate the billing document (debit memo) from service order through DP90, provided the config is right.
Prase -
How to generate report for Service sheet - ECC 6.0
Hi
Can anyone let me know regarding how to generate reports for service sheets entered
regards
SanjayHi,
Get Service Entry Sheet with following T.codes:
1.MSRV6
2.ML84
Regards,
Biju K -
BPC75NW: How to generate list of accounts with a specific prefix
Hi Experts,
I need to generate a list of accounts (to be scoped in LGF script file) starting with 'A_'.
How do I acheive this in BPC7.5 NW version ?
Regards,
Pankaj.Hi,
One of the ways could be to have a property for all these accounts or any other criteria you may have and use the XDIM Filter statement as below:
*XDIM_FILTER ACCOUNT= [ACCOUNT].PROPERTIES("ACC_CAT")= "XXXX"
Thanks,
Sreeni -
How to generate a Web Service Proxy for an ESB Routing Service?
Hi,
I have a SOAP service behind an ESB Routing Service. I am aware that i can call this ESB Service at the SOAP endpoint which can be found at the ESB Console after registration.
But, i want to invoke this service using a Web Service Proxy. My understanding is that, i need to use the WSDL generated for the ESB Routing Service to generate the proxy. The WSDL which can be seen in JDeveloper does not have any soap bindings and hence the tool does not allow me to generate any proxy.
Also, the two WSDLs whose URLs can be found at the ESB Console do not have the soap endpoint properties.
Can someone help me out on the same?
Thanks and regards,
Priya.Priya,
Just take the SOAP endpoint and suffix it with a ?wsdl
Even the Concrete WSDL endpoint should be having a SOAP endpoint.
HTH
Uday -
How to generate list of images used in project
Is there a way I can generate a report or list of the images
used in a homesite project? I want to remove unused images from the
project directory.
ThanksOk, I am having trouble as well Genrating a group of images,
Can someone help. I am very new to this so thats probaly why
Iphone Unlock
3G sim
cards
Unlimited
Mobile Calling -
How To: Sort Numbers in Ascending Order in a Generated List
Greetings! How do I set up a Generated List of Paragraphs so that it sorts in true ascending order? What I want is:
1.1
1.2
1.3
1.4
1.5
1.6
1.7
1.8
1.9
1.10
I have tried every trick I can think of with the sort order listed on the reference page. But all I can get is something that sorts by individual number (ignoring the numeric value) like:
1.1
1.10
1.11
1.2
1.20
1.21
1.3
Any help is much appreciated!Hello there, Michael! Thanks so much for looking at my post! Alas, the LOP will not work. I should have explained more, but it was so complicated I thought folks would give up reading.
Here's the best I can render it without getting permission to share a good example document. I do not blame anyone if it's too cumbersome or convoluted to wade through...
This is a requirements document which has sort of a "legal" tinge to it--as the document evolves we must maintain traceability for individual requirements. This means, for example:
Version 1 - I have requirements 1 and 2.
Version 2 - I need to add a new requirement, which should appear before requirement 1 in the document. Even though it comes before requirement 1 in the document, numerically it will be requirement 3 and requirement 1 will remain requirement 1.
Version 3 - I need to remove requirement 2. Even though I now have only 2 requirements, their numbers will not change (they remain requirements 1 and 3, appearing in reverse order).
Version 4 - I need to move requirement 3 to be after requirement 1. Again, the requirements keep their original number, even though their position has changed and there is no longer a "requirement 2" number in use.
Originally, I told the team (I'm doing this for a different dept), that they would have to hand-number requirements, which they did for a while. But that was getting very cumbersome, and the scenarios above are limited to one or two occurrences per document. So I created an auto-number sequence for them to use in the initial version and added a little smoke-and-mirrors work process to take care of changes in later versions. The last bit of chicanery I cannot get to work is the index...
Even if there are no changes to the requirements after the initial version, the index still does not sort in ascending numeric order. It was working with the hand-numbered requirements because they were using leading zeros. But without being able to include leading zeros in the auto-numbering formats (I tried the "use a zero as a tab leader" solution and like to have thrown my new monitor out of the window), I cannot find a solution.
Or rather, I think the solution is "you have to hand-number requirements".
For anyone who has made it this far, I truly appreciate your time and patience!
SFT -
How to copy List item from one list to another using SPD workflow using HTTP call web service
Hi,
How to copy List item from one list to another using SPD workflow using HTTP call web service.
Both the Lists are in different Web applications.
Regards, Shreyas R SHi Shreyas,
From your post, it seems that you are using SharePoint 2013 workflow platform in SPD.
If that is the case, we can use Call HTTP web service action to get the item data, but we cannot use Call HTTP web service to create a new item in the list in another web application with these data.
As my test, we would get Unauthorized error when using Call HTTP web service action to create a new item in a list in another web application.
So I recommend to achieve this goal programmatically.
More references:
https://msdn.microsoft.com/en-us/library/office/jj164022.aspx
https://msdn.microsoft.com/en-us/library/office/dn292552.aspx?f=255&MSPPError=-2147217396
Thanks,
Victoria
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
How to generate web services for OAS with wsdl extension
Hi,
I wanted to know how to generate web services from Oracle Application Server especially with .wsdl extension and with document/literal style.
I know that earlier there was a tool called SmartConnect from BEA WebLogic.
But that will work only with ALSB (Aqua logic Service Bus). I guess that ALSB has been renamed as Oracle Service Bus by Oracle after the acquisition of WebLogic. My question is what is the new name for the SmartConnect Tool from WebLogic, which generates wsdl very easily from Oracle database.
I am unable to know the new name for SmartConnect and how to download that tool from Oracle web site.
Also, I want to know, whether there is any other way to generate the wsdl from Oracle, if so, please let me know.
Regards
RamanHi Jeethandra,
Please refere to the below link might be some help.
[http://help.sap.com/saphelp_mdmgds55/helpdata/en/45/069152856241e1e10000000a1553f6/frameset.htm]
regards
shankar -
How to generate a list of pick dates for all scheduled deliveries?
Hi!
How to generate a list of pick dates for all scheduled deliveries?
What all the tables involved?
Thanks
Imran.Thanks for the suggestion concerning the file path. And certainly it would have been nice to have done this before beginning. However this is a project that has been around for quite a while, and the files have been moved into different bins. And now the project sequence is being revised.
So the problem is, worded slightly differently, how can I search all of the bins for the files that are used just by this sequence, ignoring the files which are used by other sequences? Or, how can I get a list of the file paths of the files that are used in the sequence? -
How to generate JAX-RPC web services instead of JAX-WS webservices withOEPE
How to generate JAX-RPC web services instead of JAX-WS webservices withOEPE? I am asking this because I need to pass xmlbeans generated objects as arguments in the web method. For JAX-WS there has to be a no argument constructor for it to be able to pass in theweb method. The workshop 10.3 was able to pass the xmlbeans generated object as the web service was implemented as a JAX-RPC web service....
Ok just as I expected. So I guess I am left with the following two options
1) either I switched to using JAXB in my apps instaed of xmlbeans....
2) or if I still wanna use the old JAX-RPC web services to deploy on the Weblogic 10gR3 server i will have to create my own ant task jwsc directly......as shown below in your docs
Programming Web Services for WebLogic Server (ant tasks)
http://download.oracle.com/docs/cd/E13222_01/wls/docs92/webserv/anttasks.html
Getting Started With WebLogic Web Services Using JAX-RPC
http://download.oracle.com/docs/cd/E12840_01/wls/docs103/webserv_rpc/index.html
Will OEPE be supporting the old JAX-RPC anytime in the near future release? or have to create own build ant task to call jwsc ant task directly to compile JAX-RPC web services?? -
How to generate client for GetFile service of Webcenter Content Management.
How to generate client for GetFile service of Webcenter Content Management.
Downloaded file : GetFile.wsdl
<?xml version="1.0" encoding="utf-8" ?>
- <definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:s0="http://www.stellent.com/GetFile/" targetNamespace="http://www.stellent.com/GetFile/" xmlns="http://schemas.xmlsoap.org/wsdl/">
- <types>
- <s:schema elementFormDefault="qualified" targetNamespace="http://www.stellent.com/GetFile/">
- <s:element name="GetFileByID">
- <s:complexType>
- <s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="dID" type="s:int" />
<s:element minOccurs="0" maxOccurs="1" name="rendition" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="extraProps" type="s0:IdcPropertyList" />
</s:sequence>
</s:complexType>
</s:element>
- <s:element name="GetFileByIDResponse">
- <s:complexType>
- <s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="GetFileByIDResult" type="s0:GetFileByIDResult" />
</s:sequence>
</s:complexType>
</s:element>
- <s:complexType name="GetFileByIDResult">
- <s:sequence>
<s:element minOccurs="0" maxOccurs="unbounded" name="FileInfo" type="s0:FileInfo" />
<s:element minOccurs="0" maxOccurs="1" name="downloadFile" type="s0:IdcFile" />
<s:element minOccurs="0" maxOccurs="1" name="StatusInfo" type="s0:StatusInfo" />
</s:sequence>
</s:complexType>
- <s:element name="GetFileByName">
- <s:complexType>
- <s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="dDocName" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="revisionSelectionMethod" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="rendition" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="extraProps" type="s0:IdcPropertyList" />
</s:sequence>
</s:complexType>
</s:element>
- <s:element name="GetFileByNameResponse">
- <s:complexType>
- <s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="GetFileByNameResult" type="s0:GetFileByNameResult" />
</s:sequence>
</s:complexType>
</s:element>
- <s:complexType name="GetFileByNameResult">
- <s:sequence>
<s:element minOccurs="0" maxOccurs="unbounded" name="FileInfo" type="s0:FileInfo" />
<s:element minOccurs="0" maxOccurs="1" name="downloadFile" type="s0:IdcFile" />
<s:element minOccurs="0" maxOccurs="1" name="StatusInfo" type="s0:StatusInfo" />
</s:sequence>
</s:complexType>
- <s:complexType name="FileInfo">
- <s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="dDocName" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="dDocTitle" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="dDocType" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="dDocAuthor" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="dSecurityGroup" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="dDocAccount" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="dID" type="s:int" />
<s:element minOccurs="0" maxOccurs="1" name="dRevClassID" type="s:int" />
<s:element minOccurs="0" maxOccurs="1" name="dRevisionID" type="s:int" />
<s:element minOccurs="0" maxOccurs="1" name="dRevLabel" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="dIsCheckedOut" type="s:boolean" />
<s:element minOccurs="0" maxOccurs="1" name="dCheckoutUser" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="dCreateDate" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="dInDate" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="dOutDate" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="dStatus" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="dReleaseState" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="dFlag1" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="dWebExtension" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="dProcessingState" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="dMessage" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="dReleaseDate" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="dRendition1" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="dRendition2" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="dIndexerState" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="dPublishType" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="dPublishState" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="dDocID" type="s:int" />
<s:element minOccurs="0" maxOccurs="1" name="dIsPrimary" type="s:boolean" />
<s:element minOccurs="0" maxOccurs="1" name="dIsWebFormat" type="s:boolean" />
<s:element minOccurs="0" maxOccurs="1" name="dLocation" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="dOriginalName" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="dFormat" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="dExtension" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="dFileSize" type="s:int" />
<s:element minOccurs="0" maxOccurs="1" name="CustomDocMetaData" type="s0:IdcPropertyList" />
</s:sequence>
</s:complexType>
- <s:complexType name="StatusInfo">
- <s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="statusCode" type="s:int" />
<s:element minOccurs="0" maxOccurs="1" name="statusMessage" type="s:string" />
</s:sequence>
</s:complexType>
- <s:complexType name="IdcPropertyList">
- <s:sequence>
<s:element minOccurs="0" maxOccurs="unbounded" name="property" type="s0:IdcProperty" />
</s:sequence>
</s:complexType>
- <s:complexType name="IdcProperty">
- <s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="name" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="value" type="s:string" />
</s:sequence>
</s:complexType>
- <s:complexType name="IdcFile">
- <s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="fileName" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="fileContent" type="s:base64Binary" />
</s:sequence>
</s:complexType>
</s:schema>
</types>
- <message name="GetFileByIDSoapIn">
<part name="parameters" element="s0:GetFileByID" />
</message>
- <message name="GetFileByIDSoapOut">
<part name="parameters" element="s0:GetFileByIDResponse" />
</message>
- <message name="GetFileByNameSoapIn">
<part name="parameters" element="s0:GetFileByName" />
</message>
- <message name="GetFileByNameSoapOut">
<part name="parameters" element="s0:GetFileByNameResponse" />
</message>
- <portType name="GetFileSoap">
- <operation name="GetFileByID">
<input message="s0:GetFileByIDSoapIn" />
<output message="s0:GetFileByIDSoapOut" />
</operation>
- <operation name="GetFileByName">
<input message="s0:GetFileByNameSoapIn" />
<output message="s0:GetFileByNameSoapOut" />
</operation>
</portType>
- <binding name="GetFileSoap" type="s0:GetFileSoap">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
- <operation name="GetFileByID">
<soap:operation soapAction="http://www.stellent.com/GetFile/" style="document" />
- <input>
<soap:body use="literal" />
</input>
- <output>
<soap:body use="literal" />
</output>
</operation>
- <operation name="GetFileByName">
<soap:operation soapAction="http://www.stellent.com/GetFile/" style="document" />
- <input>
<soap:body use="literal" />
</input>
- <output>
<soap:body use="literal" />
</output>
</operation>
</binding>
- <service name="GetFile">
- <port name="GetFileSoap" binding="s0:GetFileSoap">
<soap:address location="http://localhost:7101/_dav/cs/idcplg" />
</port>
</service>
</definitions>Hi,
I would suggest you to check the time recording functionality, see
details in:
http://help.sap.com/saphelp_sm70ehp1_sp26/helpdata/en/d5/299631364d4e959
c6609ca3bc24740/content.htm
Another possibility is configuring the Service Level Agreement, see
details in SDN blog:
Service Desk: SLA configuration hints
https://weblogs.sdn.sap.com/pub/wlg/24813
or
http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/24813
Thanks
Regards,
Vikram -
How to generate web services for MDM Taxanomy Tables?
Hi Experts,
I have a Taxonomy table called eClass in material repository which contains the Hierarchical data. The data[Attributes of this table ] can be seen only in Taxonomy Mode, I want to generate the web service using MDM Web Service Generator. The service should perform the CRUD operation over this table and retrieve the attributes. I generated the service for this table but I am not able to retrieve the attributes. Please help me out for this situations. Any pointers regarding this will be appreciated.
Thanks & Regards
JeetendraHi Jeethandra,
Please refere to the below link might be some help.
[http://help.sap.com/saphelp_mdmgds55/helpdata/en/45/069152856241e1e10000000a1553f6/frameset.htm]
regards
shankar -
Can the sd order generates the cs service order automaticlly?
Hi,All
I have a querry regarding the integration of sd and cs module.can the sd order generates the cs service order automaticlly?
if can,how to set the sd order to actualize the function?
thanks in advance!Hi,
Actually in Case u r using repair order then
U first create service notification IW51
then u nned to create a repair order (Config setting is in SPRO --- Folowon actions in Service notifcation, fn modules assigned here)
After u create a repair order
U get repair service metrial via mat determination
maintain in VB11 -- u nnede to maintain service product and task list for it and this linked to main tiem in mat det
Now u get repair order with mat
then do PGR via VRRE
then u can goto sales order and rasie a service order...
Customising maintained for Service order types in Customising
U can run std in SAp and c , then check the onfig settings
Reward if useful
Krishna -
How to access the Web Service Browser
Hi,
I need to access the Web Service Browser to generate a Web Service Description.
How can I do it?
I use the follow url:
http://<host_name>:<port_number>/sap/bc/bsp/sap/WebServiceBrowser/search.html?sap-client=<relevant_client>
but I can't say how to determine values for the three placeholders.
Help me please.
THANKSHi Andrea,
you can access the web services in sap transaction SICF. Then right click on the
service and choose "test". The hostname is the host on where the sap system
runs.
The port ´number can be seen in transaction SMICM -> shift + F1. Here you can see
the portnumer assigned to the HTTP protocol.
And the client is the sap client (standard client) for which the service is configured.
Hope this helps.
KR,
Andreas
Maybe you are looking for
-
Not able to edit membership of universal security groups
I'm not able to edit membership of My Universal security groups using outlook, when I add/remove members it shows the error "Changes to the public group membership can't be saved. You do not have sufficient permission to perform this operation on thi
-
I no longer have an iphone. Do I still need mobile me for the ipod touch?
I no longer have an iphone. Do I need mobileme for my ipod touch?
-
Delivery Date for PR in Sales Order
Dear All, We have a case where Sales order will trigger a Purchase requisition when the Material is non-stock. But when looking at the Delivery date for the Purchase Requisition in the Sales order, the delivery date is always the creation date, which
-
Rescue and Recovery after update from Windows Vista to 7
I've updated my 2 years old Lenovo T60 from the preinstalled Windows Vista to Windows 7. For short: I like it. I kept the recovery partition but now want to update it, to keep it in sync with the current windows and Rescue and Recovery versions. By t
-
IPhone not showing up under File Devices
Anyone else seeing this? but shows up in iTunes and syncs fine. Tried to update to 8.1.2 using iTunes but says I should first transfer purchases to iTunes. iTunes 11.4 & Mac OS 10.10