Is there any brother who is using. Net to call the WebService written in Java?
I want to call APIs of PDF 7.0 under. net, but these APIs are J2EE,
The development document in PDF 7.0 tells me to create a. Net client first:
1. From the Microsoft. NET Visual Studio development environment, reference the soapclient. dll file.
2. Add the following import statement to your Microsoft. NET project:
Using soapclient; // C # syntax
3. Use the fssoapclient constructor to create a fssoapclient object:
Fssoapclient formserver = new fssoapclient (); // C # syntax
4. Set the soapclient object's soap end point by calling the setsoapendpoint method:
Formserver. setsoapendpoint ("http: // <appserver >:< appport>/formserverws/
Services/adobefsservice "); // C # Is syntax the address of the WebService written in Java referenced here?
1, 2, 3 already know what is going on, 4 do not know what is going on!
Http: // <appserver>: <appport>/formserverws/services/adobefsservice. I don't know how to write this address!
I think so! The Java package already exists, but I don't know which one is the WebService to be referenced above. How can I find it?
This document is intended for Java users. I would like to ask, if I can already call Its WebService, the following development methods should refer to Java's Code Now! Number of questions: 90. replies: 36top
Zhanqiangz (xianyun wild crane-overriding) on the first floor) Back to 10:00:54 score
5
I have never done this, just speculation.
Http: // <appserver >:< appport>/formserverws/services/adobefsservice
Http: // server address or name (host name): Port Number/WS project name/directory/WS
Next, you should check the attributes of formserver. The most important thing is to check the usage of formserver.
Top
Jinjazz (near body scissors) on the second floor) Back to 10:01:06 score
2
No, no help :( top
Pxjhy (Jiang huaying) on the third floor) Back to 10:03:30 score
10
After you call WebService, you can do whatever development you want.
WebService is an intermediate structure. It is responsible for "translating" your requirements and then handing them over to the database for operations, either adding, modifying, deleting, or querying, and then sending the results back to you.
If you want to use WebService for development, you need to know the call parameters and their types that people have given, and you can pass them in accordingly and use them like functions.
It may not only perform database operations, but also do other work.
Http: // <appserver >:< appport>/formserverws/services/adobefsservice:
<Appserver> the IP address of the server.
: <Appport> port used
The rest is the path that provides WebService, or the directory.
Here is an example of calling the Sina SMS interface WebService. For details, refer to it.
Http://s.sams.cnblogs.com/archive/2005/06/25/180949.aspx
Top
Fangxinggood (justaco) on the 4th floor) Back to 10:09:18 score
3
I have called it. It is the same as getting the WSDL. Vs will create a local proxy Based on the WSDL. Top
5 floor lyb_abiandbel (focusing on OO Analysis and Design) Back to 10:17:59 score 0
The same is true if you get the WSDL.
-----------------------
Is the WSDL generated by J2EE?
I only have some java. class files. I just don't know which one is a WebService file! Top
6 floor lyb_abiandbel (focusing on OO Analysis and Design) Back to 10:21:32 score 0
That is to say, do I have to get the WSDL file generated by J2EE?
If you can get the WSDL file, it will be OK! Top
Sunnystar365 on the 7th floor (a person's sky) Back to 10:34:00 score
5
No J2EE WebService has been called, but check the preceding address.
Http: // <appserver >:< appport>/formserverws/services/adobefsservice
It should be a service. You only need to specify the server and port number to connect to the service and call its method.
If I can already call Its WebService, the following development method should be able to refer to the Java code!
--------------------------------------
After the service is called, you should be able to see all the methods in its service. At this time, you can certainly follow its methods.ProgramWrite the top
Goody9807 (http://goody9807.cnblogs.com) Back to 10:34:07 score
3
Http://goody9807.cnblogs.com/archive/2005/08/17/216725.htmlTop
Lyb_abiandbel on the 9th floor (focusing on OO Analysis and Design) Back to 11:00:11 score 0
That is to say, do I have to get the WSDL file generated by J2EE?
------------------------------
This is still not correct. I read the document again. I must create a WebService in. Net to interact with J2EE and then generate an asmx file. This is the file I need!
The only exception is the client API for microsoft.net.
Using this client API, you can create applications such as Web Services in a microsoft.net development enviroment that interact with the form server module.
Form server has integrated the Simple Object Access Protocol (SOAP) service. Using the soap and. Net client libraries, you can create applications that access the form Server Module remotely from any platform.
Top
Lyb_abiandbel on the 10th floor (focusing on OO Analysis and Design) Back to 11:02:08 score 0
Then, create the client.
Creating a Microsoft. NET client object
You use the form server soap client for Microsoft. NET to create form server applications in the Microsoft
. NET development environment. This client API consists of a file named soapclient. dll and is located in
Form server library directory. For information about this directory, see "including form server library files"
On page 11.
The Microsoft. NET soap client consists of two classes. The first class is fssoapclient and is used
Create a form Server Object and is equivalent to the soapclient class used in the Java implementation.
The second class is named outputcontext and is equivalent to the ioutputcontext interface used in
The Java implementation. For information about these classes, see the API reference.
Invoking the form Server service by using the Microsoft. NET soap client API is a four-step process:
1. From the Microsoft. NET Visual Studio development environment, reference the soapclient. dll file.
Information, see "referencing the form server soap client" on page 14.
2. Add the following import statement to your Microsoft. NET project:
Using soapclient; // C # syntax
3. Use the fssoapclient constructor to create a fssoapclient object:
Fssoapclient formserver = new fssoapclient (); // C # syntax
4. Set the soapclient object's soap end point by calling the setsoapendpoint method:
Formserver. setsoapendpoint ("http: // <appserver >:< appport>/formserverws/
Services/adobefsservice "); // C # syntax
Note: To reference soapclient. dll:
Referencing the form server soap Client
You create a reference to the soapclient. dll assembly within the Microsoft. NET Visual Studio development
Environment. Before doing so, ensure that form server is installed on your development computer.
Getting the icsharp Utility
The form server soap client is dependent on an icsharp utility, that consists of a single file named
Icsharpcode. sharpziplib. dll. You must reference this file from your Microsoft. NET Visual Studio project.
You can download this utility from the following web site:
Http://prdownloads.sourceforge.net/sharpdevelop/050SharpZipLib.zip? Download.
Unable to reference the form server soap client within Microsoft. NET Visual Studio
1. From the project menu, click Add reference.
2. Click the. NET tab.
3. Click search and navigate to the form server library directory located
C: \ Program Files \ Adobe \ IDP \ Lib.
4. Select soapclient. dll.
Once you create a form server object, you can perform tasks such as rendering a form. For information,
See "rendering forms" on page 25.top