Skip to content

Instantly share code, notes, and snippets.

import java.util.function.Predicate
class PredicateIterator<T> implements Iterator<T> {
Iterator<T> iterator
Predicate<T> predicate
boolean hasNext = false
T currentElement
T nextElement
@Mugi4ok
Mugi4ok / Datasource.local.properties
Created July 31, 2015 10:23
Datasource.local.properties (SSIX-1930)
dataSource.driverClassName=com.mysql.jdbc.Driver
dataSource.url=jdbc:mysql://127.0.0.1:3306/sample6DB
dataSource.username=root
dataSource.password=
dataSource_s6data.driverClassName=com.mysql.jdbc.Driver
dataSource_s6data.url=jdbc:mysql://127.0.0.1:3306/S6Data_Research
dataSource_s6data.username=root
dataSource_s6data.password=
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="http://localhost:8084/axis/Params.jws" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://localhost:8084/axis/Params.jws" xmlns:intf="http://localhost:8084/axis/Params.jws" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<!--WSDL created by Apache Axis version: 1.4
Built on Apr 22, 2006 (06:55:48 PDT)-->
<wsdl:message name="setKeyRequest">
<wsdl:part name="key" type="xsd:int"/>
</wsdl:message>
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="http://localhost:8084/axis/Params.jws" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://localhost:8084/axis/Params.jws" xmlns:intf="http://localhost:8084/axis/Params.jws" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<!--WSDL created by Apache Axis version: 1.4
Built on Apr 22, 2006 (06:55:48 PDT)-->
<wsdl:message name="setKeyRequest">
<wsdl:part name="key" type="xsd:int"/>
</wsdl:message>
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="http://localhost:8084/axis/Params.jws" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://localhost:8084/axis/Params.jws" xmlns:intf="http://localhost:8084/axis/Params.jws" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<!--WSDL created by Apache Axis version: 1.4
Built on Apr 22, 2006 (06:55:48 PDT)-->
<wsdl:message name="setKeyRequest">
<wsdl:part name="key" type="xsd:int"/>
</wsdl:message>
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import java.io.Serializable;
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/**
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Iterator;
public class RefObject implements Serializable{
public RefObject(int id, String name, String description, String returnType, Params[] params) {
@Mugi4ok
Mugi4ok / gist:53c633c311dbb4b6dc07
Created April 16, 2015 15:33
Apache Exception
- Exception:
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: java.io.IOException: No serializer found for class RefObject in registry org.apache.axis.encoding.TypeMappingDelegate@e59a459
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace:java.io.IOException: No serializer found for class RefObject in registry org.apache.axis.encoding.TypeMappingDelegate@e59a459
at org.apache.axis.encoding.SerializationContext.serializeActual(SerializationContext.java:1507)