J-guar offers you integration possibilities with ready-made WS.

It is also possible to develop a custom WS using the LPT environment.

The WSs that are presented are SOAP-based.

A list of all J-guar SOAP-based services can be found at  http://localhost:8080/logo/services/listServices list services.

You can find the relevant documents and examples in the following links.


 WS Client main in Java
private static String m_RootURL = "http://localhost:8080/logo/services/";
public static void main(java.lang.String args[])
{
      try
            {
                  ConfigurationContext cfg =
ConfigurationContextFactory.createConfigurationContextFromFileSystem("D:\\WS",null);
                  DataQueryServiceStub stub = new
DataQueryServiceStub(cfg, m_RootURL+"DataQueryService" );
                  DataQueryServiceStub service = stub;
                  ServiceClient sc = stub._getServiceClient();
                  sc.engageModule("addressing");
                  sc.engageModule("rampart");             
                  OutflowConfiguration outflowConfig = new OutflowConfiguration();
                  outflowConfig.setActionItems("UsernameToken");
                  outflowConfig.setUser("admin");
                  outflowConfig.setPasswordCallbackClass("com.lbs.ws.Test.SampleCallBackHandler");
                  sc.getOptions().setProperty(WSSHandlerConstants.OUTFLOW_SECURITY, outflowConfig.getProperty());
                  getRowCount(stub);
            }
            catch(RemoteException e)
            {
                 e.printStackTrace();
            }
 WS Call back handler in java
package com.acme.ws.test;
 
import java.io.IOException;
  
import javax.security.auth.callback.CallbackHandler;
import javax.security.auth.callback.UnsupportedCallbackException;
  
import javax.security.auth.callback.Callback;
import org.apache.ws.security.WSPasswordCallback;
  
public class SampleCallBackHandler implements CallbackHandler {
 
    public void handle(Callback[] callbacks) throws IOException, UnsupportedCallbackException
    {
        for (int i = 0; i < callbacks.length; i++)
        {
            WSPasswordCallback pwcb = (WSPasswordCallback) callbacks[i];
            String id = pwcb.getIdentifier();
            if ("admin".equals(id))
            {
                pwcb.setPassword("logo");
            }
        }
    }
}
Link
Explanation

BatchWebService

DataExchangeService

DataQueryService

ReportingWebService


J-guar basic web services introduction documents

http://host:port/logo/services/HRSelfService?wsdlJ-guar HR Self Service

Java Delphi CSharp WS Istemci.pdf

CSharpWebServiceClientSample2.rar

Delphi_WebServisOrnek.zip

How to make WS client development for Java, Delphi and C #.

It is described in summary.

You can install and examine the Source Code

Otomatik Web Servis Tanımı

Custom WEB Service Development

How to define web service in the application project

Web Servis İstemci (.net)How to create a client application in Microsoft visual studio environment

Creating Custom Web Service

Create Custom WS
Web Servis ile Varlık ve Varlık Hareketi EklemeAdding Entity and Entity Movement with DataExchange.save
Controller Kodları ile Web Service Yazılması

Custom Web Service Development

Contains Source Code

Application Service Web Service

Custom Web Service Development

Contains Java source code

Sample ApplicationsThere is .net WS client instances on the Sample Applications link.
Using ReportingWebService Filter




Telif HakkıKullanım KoşullarıGizlilik
Copyright © 2018 Logo Yazılım