How to create Clinets using CRMOD WSDL files in Netbeans 6.7
Hi All,
I wanna create a client using WSDLs provided by SCOD,but failed..Appriciate any help regarding the same.Which one i have to choose either JAX WS or JAX RPC..
What r the steps to follow to create a clinet using netbenas.
Thanks in Advance.
PaPPu
Hi,
There is Portal content for SRM.
http://service.sap.com/patches
Regards,
Masa
Similar Messages
-
How to create and use library JAR files with command-line tools?
Development Tools -> General Questions:
I am trying to figure out how to put utility classes into JAR files and then compile and run applications against those JAR files using the command-line javac, jar, and java tools. I am using jdk1.7.0_17 on Debian GNU/Linux 6.0.7.
I have posted a simple example with one utility class, one console application class, and a Makefile:
http://holgerdanske.com/users/dpchrist/java/examples/jar-20130520-2134.tar.gz
Here is a console session:
2013-05-20 21:39:01 dpchrist@desktop ~/sandbox/java/jar
$ cat src/com/example/util/Hello.java
package com.example.util;
public class Hello {
public static void hello(String arg) {
System.out.println("hello, " + arg);
2013-05-20 21:39:12 dpchrist@desktop ~/sandbox/java/jar
$ cat src/com/example/hello/HelloConsole.java
package com.example.hello;
import static com.example.util.Hello.hello;
public class HelloConsole {
public static void main(String [] args) {
hello("world!");
2013-05-20 21:39:21 dpchrist@desktop ~/sandbox/java/jar
$ make
rm -f hello
find . -name '*.class' -delete
javac src/com/example/util/Hello.java
javac -cp src src/com/example/hello/HelloConsole.java
echo "java -cp src com.example.hello.HelloConsole" > hello
chmod +x hello
2013-05-20 21:39:28 dpchrist@desktop ~/sandbox/java/jar
$ ./hello
hello, world!I believe I am looking for:
1. Command-line invocation of "jar" to put the utility class bytecode file (Hello.class) into a JAR?
2. Command-line invocation of "javac" to compile the application (HelloConsole.java) against the JAR file?
3. Command-line invocation of "java" to run the application (HelloConsole.class) against the JAR file?
I already know how t compile the utility class file.
Any suggestions?
TIA,
DavidI finally figured it out:
1. All name spaces must match -- identifiers, packages, file system, JAR contents, etc..
2. Tools must be invoked from specific working directories with specific option arguments, all according to the project name space.
My key discovery was that if the code says
import com.example.util.Hello;then the JAR must contain
com/example/util/Hello.classand I must invoke the compiler and interpreter with an -classpath argument that is the full path to the JAR file
-classpath ext/com/example/util.jarThe code is here:
http://holgerdanske.com/users/dpchrist/java/examples/jar-20130525-1301.tar.gz
Here is a console session that demonstrates building and running the code two ways:
1. Compiling the utility class into bytecode, compiling the application class against the utility bytecode, and running the application bytecode against the utility bytecode.
2. Putting the (previously compiled) utility bytecode into a JAR and running the application bytecode against the JAR. (Note that recompiling the application against the JAR was unnecessary.)
(If you don't know Make, understand that the working directory is reset to the initial working directory prior to each and every command issued by Make):
2013-05-25 14:02:47 dpchrist@desktop ~/sandbox/java/jar
$ cat apps/com/example/hello/Console.java
package com.example.hello;
import com.example.util.Hello;
public class Console {
public static void main(String [] args) {
Hello.hello("world!");
2013-05-25 14:02:55 dpchrist@desktop ~/sandbox/java/jar
$ cat libs/com/example/util/Hello.java
package com.example.util;
public class Hello {
public static void hello(String arg) {
System.out.println("hello, " + arg);
2013-05-25 14:03:03 dpchrist@desktop ~/sandbox/java/jar
$ make
rm -rf bin ext obj
mkdir obj
cd libs; javac -d ../obj com/example/util/Hello.java
mkdir bin
cd apps; javac -d ../bin -cp ../obj com/example/hello/Console.java
cd bin; java -cp .:../obj com.example.hello.Console
hello, world!
mkdir -p ext/com/example
cd obj; jar cvf ../ext/com/example/util.jar com/example/util/Hello.class
added manifest
adding: com/example/util/Hello.class(in = 566) (out= 357)(deflated 36%)
cd bin; java -cp .:../ext/com/example/util.jar com.example.hello.Console
hello, world!
2013-05-25 14:03:11 dpchrist@desktop ~/sandbox/java/jar
$ tree -I CVS .
|-- Makefile
|-- apps
| `-- com
| `-- example
| `-- hello
| `-- Console.java
|-- bin
| `-- com
| `-- example
| `-- hello
| `-- Console.class
|-- ext
| `-- com
| `-- example
| `-- util.jar
|-- libs
| `-- com
| `-- example
| `-- util
| `-- Hello.java
`-- obj
`-- com
`-- example
`-- util
`-- Hello.class
19 directories, 6 filesHTH,
David -
How to Create Service Interface from WSDL file
Dear Experts,
Required your help in below scenario resolution.
I have a WSDL file , from that WSDL file can I create a service interface.
If yes than what are the steps for creating the same.
Thanks & Regards,
Rathan.Rathan,
PLz chk the below link (PDF file)
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a22024f79?quicklink=index&overridelayout=true
Mutti -
How to create a table in the file using java code.?
HI,
I should export the data from the view objects to a word document. I have done that but I should
display the data in the form of a table.
Kindly come up with the necessary information on how to create a table in the file using java.
Thanks,
PhaniHi, Thank you for responding to my query.
The below are the details of my code.
DCBindingContainer dcBindings =
(DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
DCIteratorBinding StudentDetailsContent =
(DCIteratorBinding)dcBindings.get("StudentView1Iterator");
OutputStreamWriter w = new OutputStreamWriter(outputStream, "UTF-8");
Row currentRow =
StudentDetailsContent.getRowSetIterator().first();
Object a[]= currentRow.getAttributeValues();
int i;
for(i=0 ;i<=a.length;i++){
w.write(a.toString());
w.write(" ");
w.flush();
I am usning this coding to achieve the task of exporting data to file.
I need to display this information in the table that is where I need help from you people.
Thanks, -
How to use wscompile to generate code using a WSDL file?
I am working with JAX-RPC of Java Web Service ver: 1.1. I am intrested in making the WSDL file first and generating Java code from the WSDL file. On the following link:
http://java.sun.com/webservices/docs/1.1/tutorial/doc/JAXRPC6.html#wp80094
it says that wscompile can generate code using a WSDL file..:
<quote>
Table 11-3 wscompile Options
-import : read a WSDL file, generate the service's RMI interface and a template of the class that implements the interface
</quote>
and the wscompile software says this:
<quote>
C:\>wscompile
-import : generate interfaces and value types only
</quote>
can anyone tell me how to generated Java code from a WSDL file. As in, make the WSDL file (e.g. using XMLSpy) and then use that WSDL generate Java code.
ThanksI'm trying to generate code using wscompile under the struction in JAXRPC_Tutorial.pdf.
I issued the following command:
wscompile.sh -keep -gen:client -f:wsi -verbose config.xml
But I met with the following warning and I cann't find the produced java code, who know why? Thanks in advance!
warning: ignoring SOAP port "EmployeeDBPort": unrecognized transport
warning: Service "EmployeeDatabase" does not contain any usable ports
the config.xml file is:
<?xml version="1.0" encoding="UTF-8"?>
<configuration
xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config">
<wsdl name="EmployeeDBService"
location="EmployeeDB.wsdl"
packageName="com.sun.xml.rpc.xml.EmployeeDB">
</wsdl>
</configuration> -
How MS SOAP 3.0 client invokes WL 7.0 Webservice WITHOUT using a WSDL file?
Hi all,
I am looking for a sample VBScript using MS SOAP 3.0 client invoking a WL 7.0 Server
webservice. Could anyone please post a sample VBScript codes invoking a soap service
on WL 7.0 WITHOUT using a WSDL file, for example at:
http://localhost:7001/HelloWorld/Hello
with the service method:
public org.w3c.dom.Element say(String something);
Thanks,
DovanHi,
As you might guess, we are not big VB users here :-) but we may have some C# code that
could be of some value.
What problem are you trying to solve by not using WSDL?
Just curious,
Bruce
Dovan Nguyen wrote:
Hi all,
I am looking for a sample VBScript using MS SOAP 3.0 client invoking a WL 7.0 Server
webservice. Could anyone please post a sample VBScript codes invoking a soap service
on WL 7.0 WITHOUT using a WSDL file, for example at:
http://localhost:7001/HelloWorld/Hello
with the service method:
public org.w3c.dom.Element say(String something);
Thanks,
Dovan -
How to assosciate webservice to a WSDL file
Hi
I tried developing webservice(EJB as RPC) in weblogic server and installed and its working fine if i call it from client.
I am using java2WSDL(axis) tool to create a WSDL file and WSDL2Java to create stubs for client to call.I am struck in linking webservice to use the wsdl file which i have created.
I manually tried to add my WSDL file to the WAR file of my application and also Updated the web.xml file of the Web application adding a mime-mapping.
I am able to access the WSDL file in browser as http://bt885094:7001/webservice/user.wsdl
But my client tries to access the service "http://bt885094:7001/webservice/C2PUserService" which has an associated WSDL file defined as http://bt885094:7001/webservice/C2PUserService?WSDL which needs to be checking for http://bt885094:7001/webservice/user.wsdl
Could anyone tell me how to assosciate webservice to a WSDL file.
thanks in advanceThank you everyone for your help. As a complete newbie I found this nice walkthrough tutorial in onjava(i dont mean to spam).
1. View: Take a peek at the existing Fibonacci code.
2. Java2WSDL: Generate the WSDL file for the given Fibonacci interface.
3. WSDL2Java: Generate the server side wrapper code, and stubs for easy client access.
4. FibonacciSoapBindingImpl: Fill in wrapper to call the existing Fibonacci code.
5. Deploy: Deploy the service to Apache Axis.
6. Client: Write a client that uses the generated stubs, to easily access the Web service.
Given the webservice endpoint and the method name, I think I can now consume the web service using steps 3,4, and 6. -
how to Create and use of Coherence servers in weblogic serevr 11g (10.3.6)?
See the below discussion
How to create and use Webservice controls using WSDL in weblogic portal10.3
Thanks,
Venkat Sarvabatla -
How to create and use dynamic queue in JMS
Plz tell me how to create and use a dynamic queue in jms and can reciever file lookup it as it lookup any server configurred queue(written in the server).
Hi,
We can use Azure File services to do this, for more information, please have a look at this article:
http://blogs.msdn.com/b/windowsazurestorage/archive/2014/05/12/introducing-microsoft-azure-file-service.aspx. The Azure File service exposes file shares using the standard SMB 2.1 protocol. Applications running in Azure can now easily share files between
VMs using standard and familiar file system APIs like ReadFile and WriteFile.
Best Regards,
Jambor
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
How to create Inbound Idoc from XML file-Need help urgently
Hi,
can any one tell how to create inbound Idoc from XML file.
we have xml file in application server Ex. /usr/INT/SMS/PAYTEXT.xml' we want to generate inbound idoc from this file.we are successfully able to generate outbound XML file from outbound Idoc by using the XML port. But not able to generate idoc from XML file by using we19 or we16.
Please let me know the process to trigger inbound Idoc with out using XI and any other components.
Thanks in advance
Dora ReddyHi .. Did either of you get a result on this?
My question is the same really .. I am testing with WE19 and it seems SAP cannot accept an XML inbound file as standard.
I see lots of mention of using a Function Module.
Am I correct in saying therefore that ABAP development is required to create a program to run the FM and process the idoc?
Or is there something tht can be done with Standard SAP?
Thanks
Lee -
Requesting all to help me how to create lsmw using idoc method
hi
thanx for ur answer
requesting every body in the forum to help me how to create lsmw using idoc method.
regards,
balajiHi Balaji,
LSMW using IDOC is similar to using flat file method. Here you are getting data from IDOC container and mapping data with Idoc segments insted of flatfile column.
Hope this is what you are looking for. If helpful then dont forget to reward me for that
Darshan -
To test BPEL project using a wsdl file.
Hello Experts,
I need to test the BPEL Project using the wsdl file.Is there any tool to test the BPEL project?the tool should generate the input data and expected output result using the wsdl file.
please reply soon
Thanks in Advance.The entire application means the BPEL Project will be invoking many services.Consider a scenario,that i am creating a bpel project which invokes 10 services.If i make some changes in one service,i must be able to check the bpel project with that service alone.i need not cal all the other services.
I need a framework or tool thet will generate input data and the expected output based on the wsdl file.
can u suggest any solution for this? -
How to create crossword using Adobe captivate
how to create crossword using Adobe captivate
OK. Again I am not needing clarification here. Did you INSERT the SWF as an animation into the Captivate project? Or, did you keep the SWF as an external file? If the SWF is external to the main Cp SWF then perhaps it's not working when you publish because the content cannot find the SWF. If you have made sure that the SWF is definitely in the publish location, check whether or not you have that location set as a trusted location in your Flash Global Security settings.
-
How to create and use mutable array of UInt8
Hello!
If I get it right, UInt8 *buffer, buffer - is a pointer to a start of array?
Then how to create and use mutable array of UInt8 pointers?
The main target is a creation of the module that will store some byte array requests and will send all of them at the propriate moment.I try
- (void) scheduleRequest:(UInt8 *)request {
if (!scheduledRequests) scheduledRequests = [[NSMutableArray array] retain];
[scheduledRequests addObject:request];
But get warning:"passing argument 1 of 'addObject:' from incompatible pointer type" -
HOW TO CREATE and USE EVENTS IN WORKFLOWS .
HOW TO CREATE and USE EVENTS IN WORKFLOWS with the help of classes.
What i am doing is..
open se24
event tab->event name->parameters
method tab->method name->event handler->copy parameters
interface tab->if_workflow->enter
tell me what else to do step by step
Another important thing is that HOW to use these class events to trigger the workflows.
REPLY ASAP
THXS IN ADVANCEHi,
Pl. see this blog...
Raising ABAP OO events for workflow
Regards,
JOy.
Maybe you are looking for
-
BT File Transfer: Files with "&"s cause reception failure
Hi, I'm using a Satellite A200 with the latest BT Stack (5.10.06T). File transfer is fine, unless the file has an ampersand (&) in it... Is this a known bug? Is there a fix due? It's incredibly annoying! Cheers, Greg
-
JPA does the right thing for select but not for update
Hi, I'm struggling a bit with my first JSF application: at the moment on the persistence. I am using classes generated by Netbeans. I have a JSF page which is deployed on Sun AS. The select, update and new are all done from the same backing bean. Onl
-
Installing to a case-sensitive fs
When I did my original 10.4 install, I opted for a case-sensitive boot disk. I come from a UNX background, and am using UNIX utilities from darwin ports and my own UNIX files in a cvs tree. It seemed natural to use a case- sensiticve fs, since I woul
-
Error Encountered while copying Audio Stream on CAPTIVATE 3
Using Captivate 3 on Windows 2000 I don't have access to Captivate 4 or a newer version of windows while in the office.. I do have admin rights to my machine. I'm getting error.. Error encountered while copying audio Stream when creating a new projec
-
HT1541 I loaded my card and the money is there but it keeps asking for a code
I loaded card money is there but it keeps along for a code