├── cd
├── codesign.asc.enc
├── deploy.sh
├── before-deploy.sh
└── mvnsettings.xml
├── src
├── main
│ ├── java
│ │ └── com
│ │ │ └── hashmapinc
│ │ │ └── tempus
│ │ │ └── witsml
│ │ │ ├── message
│ │ │ └── _120
│ │ │ │ ├── package-info.java
│ │ │ │ ├── WMLSGetVersion.java
│ │ │ │ ├── WMLSGetCap.java
│ │ │ │ ├── WMLSGetBaseMsgResponse.java
│ │ │ │ ├── WMLSGetVersionResponse.java
│ │ │ │ ├── WMLSGetBaseMsg.java
│ │ │ │ ├── WMLSAddToStoreResponse.java
│ │ │ │ ├── WMLSUpdateInStoreResponse.java
│ │ │ │ ├── WMLSDeleteFromStoreResponse.java
│ │ │ │ ├── WMLSGetFromStoreResponse.java
│ │ │ │ ├── WMLSGetCapResponse.java
│ │ │ │ ├── ObjectFactory.java
│ │ │ │ ├── WMLSAddToStore.java
│ │ │ │ ├── WMLSUpdateInStore.java
│ │ │ │ ├── WMLSGetFromStore.java
│ │ │ │ └── WMLSDeleteFromStore.java
│ │ │ ├── client
│ │ │ ├── WMLS.java
│ │ │ ├── AbstractStoreSoapBindingStub.java
│ │ │ ├── StoreSoapPort_PortType.java
│ │ │ ├── WitsmlResponse.java
│ │ │ └── WMLSLocator.java
│ │ │ └── api
│ │ │ ├── WitsmlResponse.java
│ │ │ ├── WitsmlVersion.java
│ │ │ ├── WitsmlQuery.java
│ │ │ ├── ObjectType.java
│ │ │ └── AbstractRequestTracker.java
│ └── resources
│ │ ├── 1311
│ │ ├── GetMessages.xml
│ │ ├── GetDtsMeasurements.xml
│ │ ├── GetWellbores.xml
│ │ ├── GetFormationMarker.xml
│ │ ├── GetRisks.xml
│ │ ├── GetSurveyPrograms.xml
│ │ ├── GetWbGeometrys.xml
│ │ ├── GetLogs.xml
│ │ ├── GetWellLogs.xml
│ │ ├── GetTargets.xml
│ │ ├── GetFluidsReports.xml
│ │ ├── GetBhaRuns.xml
│ │ ├── GetRealTimes.xml
│ │ ├── GetSideWallCores.xml
│ │ ├── GetTrajectoryStations.xml
│ │ ├── GetWells.xml
│ │ └── GetTrajectorys.xml
│ │ └── 1411
│ │ ├── GetLogs.xml
│ │ ├── GetAttachments.xml
│ │ ├── GetMessages.xml
│ │ ├── GetChangeLogs.xml
│ │ ├── GetRisks.xml
│ │ ├── GetSurveyPrograms.xml
│ │ ├── GetWellbores.xml
│ │ ├── GetFormationMarker.xml
│ │ ├── GetWbGeometrys.xml
│ │ ├── GetLogData.xml
│ │ ├── GetTargets.xml
│ │ ├── GetObjectGroups.xml
│ │ ├── GetBhaRuns.xml
│ │ ├── GetFluidsReports.xml
│ │ ├── GetSideWallCores.xml
│ │ └── GetWells.xml
├── examples
│ └── scala
│ │ ├── src
│ │ └── test
│ │ │ └── scala
│ │ │ └── com
│ │ │ └── hashmapinc
│ │ │ └── tempus
│ │ │ ├── WitsmlExampleTest.scala
│ │ │ └── MySpec.scala
│ │ └── pom.xml
└── test
│ ├── java
│ └── com
│ │ └── hashmapinc
│ │ └── tempus
│ │ └── witsml
│ │ └── api
│ │ ├── LogRequestTrackerTests.java
│ │ ├── MockObjectType.java
│ │ └── MockStoreSoapBindingStub.java
│ └── resources
│ ├── 1311
│ ├── dtsMeasurement.xml
│ ├── risk.xml
│ ├── formationMarker.xml
│ ├── message.xml
│ ├── wbGeometry.xml
│ ├── realtime.xml
│ ├── wellbore.xml
│ ├── sidewallCore.xml
│ ├── trajectoryStation.xml
│ ├── bhaRun.xml
│ ├── fluidsReport.xml
│ ├── surveyProgram.xml
│ └── target.xml
│ └── 1411
│ ├── risk.xml
│ ├── formationMarker.xml
│ ├── changeLog.xml
│ ├── message.xml
│ ├── wbGeometry.xml
│ ├── wellbore.xml
│ ├── objectGroup.xml
│ ├── sidewallCore.xml
│ ├── bhaRun.xml
│ ├── fluidsReport.xml
│ ├── surveyProgram.xml
│ └── target.xml
├── .gitignore
└── .travis.yml
/cd/codesign.asc.enc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hashmapinc/witsml-client/HEAD/cd/codesign.asc.enc
--------------------------------------------------------------------------------
/cd/deploy.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 | if [ "$TRAVIS_BRANCH" = 'master' ] && [ "$TRAVIS_PULL_REQUEST" == 'false' ]; then
3 | mvn deploy -P sign,build-extras --settings cd/mvnsettings.xml
4 | fi
5 |
--------------------------------------------------------------------------------
/src/main/java/com/hashmapinc/tempus/witsml/message/_120/package-info.java:
--------------------------------------------------------------------------------
1 | @javax.xml.bind.annotation.XmlSchema(namespace = "http://www.witsml.org/message/120")
2 | package com.hashmapinc.tempus.witsml.message._120;
3 |
--------------------------------------------------------------------------------
/cd/before-deploy.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 | if [ "$TRAVIS_BRANCH" = 'master' ] && [ "$TRAVIS_PULL_REQUEST" == 'false' ]; then
3 | openssl aes-256-cbc -K $encrypted_5d4a1b060ac6_key -iv $encrypted_5d4a1b060ac6_iv -in cd/codesign.asc.enc -out cd/codesign.asc -d
4 | gpg --fast-import cd/codesign.asc
5 | fi
6 |
--------------------------------------------------------------------------------
/src/examples/scala/src/test/scala/com/hashmapinc/tempus/WitsmlExampleTest.scala:
--------------------------------------------------------------------------------
1 | package com.hashmapinc.tempus
2 |
3 | import org.junit._
4 | import Assert._
5 |
6 | @Test
7 | class WitsmlExampleTest {
8 |
9 | @Test
10 | def testOK() = assertTrue(true)
11 |
12 | // @Test
13 | // def testKO() = assertTrue(false)
14 |
15 | }
16 |
17 |
18 |
--------------------------------------------------------------------------------
/src/main/java/com/hashmapinc/tempus/witsml/client/WMLS.java:
--------------------------------------------------------------------------------
1 | package com.hashmapinc.tempus.witsml.client;
2 |
3 | import javax.xml.rpc.ServiceException;
4 |
5 | public interface WMLS{
6 | String getStoreSoapPortAddress();
7 |
8 | StoreSoapPort_PortType getStoreSoapPort() throws ServiceException;
9 |
10 | StoreSoapPort_PortType getStoreSoapPort(String portAddress) throws ServiceException;
11 | }
12 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # Compiled class file
2 | *.class
3 |
4 | # Log file
5 | *.log
6 |
7 | # BlueJ files
8 | *.ctxt
9 |
10 | # Mobile Tools for Java (J2ME)
11 | .mtj.tmp/
12 |
13 | # Package Files #
14 | *.jar
15 | *.war
16 | *.ear
17 | *.iml
18 | *.zip
19 | *.tar.gz
20 | *.rar
21 | .java-version
22 | .idea/*
23 | target/*
24 | # virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
25 | hs_err_pid*
26 |
--------------------------------------------------------------------------------
/src/main/java/com/hashmapinc/tempus/witsml/api/WitsmlResponse.java:
--------------------------------------------------------------------------------
1 | package com.hashmapinc.tempus.witsml.api;
2 |
3 | public interface WitsmlResponse {
4 |
5 | public String getXmlOut();
6 |
7 | public void setXmlOut(String xmlOut);
8 |
9 | public String getSuppMsgOut();
10 |
11 | public void setSuppMsgOut(String suppMsgOut);
12 |
13 | public short getResponseCode();
14 |
15 | public void setResponseCode(short responseCode);
16 | }
17 |
--------------------------------------------------------------------------------
/src/main/java/com/hashmapinc/tempus/witsml/api/WitsmlVersion.java:
--------------------------------------------------------------------------------
1 | package com.hashmapinc.tempus.witsml.api;
2 |
3 | //public enum WitsmlVersion { VERSION_1311, VERSION_1411 }
4 |
5 | public enum WitsmlVersion {
6 | VERSION_1311 ("1.3.1.1"),
7 | VERSION_1411 ("1.4.1.1");
8 |
9 | private final String version;
10 |
11 | private WitsmlVersion(String v) {
12 | version = v;
13 | }
14 |
15 | public String toString() {
16 | return this.version;
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/src/examples/scala/src/test/scala/com/hashmapinc/tempus/MySpec.scala:
--------------------------------------------------------------------------------
1 | package com.hashmapinc.tempus
2 |
3 | import org.specs._
4 | import org.specs.runner.{ConsoleRunner, JUnit4}
5 | //
6 | //class MySpecTest extends JUnit4(MySpec)
7 | ////class MySpecSuite extends ScalaTestSuite(MySpec)
8 | //object MySpecRunner extends ConsoleRunner(MySpec)
9 | //
10 | //object MySpec extends Specification {
11 | // "This wonderful system" should {
12 | // "save the world" in {
13 | // val list = Nil
14 | // list must beEmpty
15 | // }
16 | // }
17 | //}
18 |
--------------------------------------------------------------------------------
/src/main/java/com/hashmapinc/tempus/witsml/api/WitsmlQuery.java:
--------------------------------------------------------------------------------
1 | package com.hashmapinc.tempus.witsml.api;
2 |
3 | public interface WitsmlQuery {
4 |
5 | public String getObjectType();
6 |
7 | public void setObjectType(String objectType);
8 |
9 | public boolean isBulkData();
10 |
11 | public void setBulkData(boolean bulkData);
12 |
13 | public void includeElement(String element);
14 |
15 | public void excludeElement(String element);
16 |
17 | public void addElementConstraint(String element, Object value);
18 |
19 | public void addAttributeConstraint(String element, String attribute, Object value);
20 |
21 | public String apply(String xmlString);
22 |
23 | public String toString();
24 | }
25 |
--------------------------------------------------------------------------------
/src/main/java/com/hashmapinc/tempus/witsml/client/AbstractStoreSoapBindingStub.java:
--------------------------------------------------------------------------------
1 | package com.hashmapinc.tempus.witsml.client;
2 |
3 | import org.apache.axis2.client.Stub;
4 |
5 | public abstract class AbstractStoreSoapBindingStub extends Stub implements StoreSoapPort_PortType {
6 |
7 | private String username;
8 | private String password;
9 |
10 | public String getPassword() {
11 | return password;
12 | }
13 |
14 | public void setPassword(String password) {
15 | this.password = password;
16 | }
17 |
18 | public String getUsername() {
19 | return username;
20 | }
21 |
22 | public void setUsername(String username) {
23 | this.username = username;
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/cd/mvnsettings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | ossrh
5 | ${env.OSSRH_JIRA_USERNAME}
6 | ${env.OSSRH_JIRA_PASSWORD}
7 |
8 |
9 |
10 |
11 |
12 | ossrh
13 |
14 | true
15 |
16 |
17 | gpg
18 | ${env.GPG_KEY_NAME}
19 | ${env.GPG_PASSPHRASE}
20 |
21 |
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/src/main/resources/1311/GetMessages.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/src/main/resources/1311/GetDtsMeasurements.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
--------------------------------------------------------------------------------
/src/main/resources/1411/GetLogs.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/src/main/resources/1311/GetWellbores.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/src/main/resources/1411/GetAttachments.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
--------------------------------------------------------------------------------
/src/test/java/com/hashmapinc/tempus/witsml/api/LogRequestTrackerTests.java:
--------------------------------------------------------------------------------
1 | package com.hashmapinc.tempus.witsml.api;
2 |
3 | import com.hashmapinc.tempus.witsml.api.LogRequestTracker;
4 | import com.hashmapinc.tempus.witsml.api.WitsmlVersion;
5 | import org.junit.Test;
6 |
7 | import static org.junit.Assert.assertEquals;
8 | import static org.junit.Assert.assertNotNull;
9 |
10 | public class LogRequestTrackerTests {
11 |
12 | @Test
13 | public void testDateTracker() {
14 | MockClient client = new MockClient("https://test.test.com/witsml/witsml.asmx");
15 | LogRequestTracker tracker = new LogRequestTracker();
16 | tracker.setVersion(WitsmlVersion.VERSION_1411);
17 | tracker.setCapabilitesIn("");
18 | tracker.initalize(client, "", "");
19 | String caps = tracker.getCapabilitiesIn();
20 | assertNotNull(caps);
21 | // assertEquals();
22 | }
23 |
24 | }
25 |
--------------------------------------------------------------------------------
/src/main/resources/1311/GetFormationMarker.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/src/main/resources/1411/GetMessages.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/src/main/java/com/hashmapinc/tempus/witsml/message/_120/WMLSGetVersion.java:
--------------------------------------------------------------------------------
1 |
2 | package com.hashmapinc.tempus.witsml.message._120;
3 |
4 | import javax.xml.bind.annotation.XmlAccessType;
5 | import javax.xml.bind.annotation.XmlAccessorType;
6 | import javax.xml.bind.annotation.XmlRootElement;
7 | import javax.xml.bind.annotation.XmlType;
8 |
9 |
10 | /**
11 | *
Java class for anonymous complex type.
12 | *
13 | *
The following schema fragment specifies the expected content contained within this class.
14 | *
15 | *
16 | *
17 | *
18 | *
19 | *
20 | *
21 | *
22 | *
23 | *
24 | *
25 | *
26 | *
27 | */
28 | @XmlAccessorType(XmlAccessType.FIELD)
29 | @XmlType(name = "")
30 | @XmlRootElement(name = "WMLS_GetVersion")
31 | public class WMLSGetVersion {
32 |
33 |
34 | }
35 |
--------------------------------------------------------------------------------
/src/main/resources/1311/GetRisks.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
--------------------------------------------------------------------------------
/src/main/resources/1411/GetChangeLogs.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/src/main/java/com/hashmapinc/tempus/witsml/client/StoreSoapPort_PortType.java:
--------------------------------------------------------------------------------
1 | package com.hashmapinc.tempus.witsml.client;
2 |
3 | import com.hashmapinc.tempus.witsml.message._120.*;
4 |
5 | import java.rmi.Remote;
6 | import java.rmi.RemoteException;
7 |
8 | public interface StoreSoapPort_PortType extends Remote {
9 |
10 | WMLSGetFromStoreResponse wMLS_GetFromStore(WMLSGetFromStore wMLS_GetFromStore) throws RemoteException;
11 |
12 | WMLSGetBaseMsgResponse wMLS_GetBaseMsg(WMLSGetBaseMsg wMLS_GetBaseMsg) throws RemoteException;
13 |
14 | WMLSGetVersionResponse wMLS_GetVersion(WMLSGetVersion wMLS_GetVersion) throws RemoteException;
15 |
16 | WMLSDeleteFromStoreResponse wMLS_DeleteFromStore(WMLSDeleteFromStore wMLS_DeleteFromStore) throws RemoteException;
17 |
18 | WMLSGetCapResponse wMLS_GetCap(WMLSGetCap wMLS_GetCap) throws RemoteException;
19 |
20 | WMLSAddToStoreResponse wMLS_AddToStore(WMLSAddToStore wMLS_AddToStore) throws RemoteException;
21 |
22 | WMLSUpdateInStoreResponse wMLS_UpdateInStore(WMLSUpdateInStore wMLS_UpdateInStore) throws RemoteException;
23 | }
24 |
--------------------------------------------------------------------------------
/src/main/java/com/hashmapinc/tempus/witsml/client/WitsmlResponse.java:
--------------------------------------------------------------------------------
1 | package com.hashmapinc.tempus.witsml.client;
2 |
3 | public class WitsmlResponse implements com.hashmapinc.tempus.witsml.api.WitsmlResponse {
4 | private String xmlOut;
5 | private String suppMsgOut;
6 | private short responseCode;
7 |
8 | public WitsmlResponse(String xmlOut, String suppMsgOut, short responseCode) {
9 | this.xmlOut = xmlOut;
10 | this.suppMsgOut = suppMsgOut;
11 | this.responseCode = responseCode;
12 | }
13 |
14 | public String getXmlOut() {
15 | return xmlOut;
16 | }
17 |
18 | public void setXmlOut(String xmlOut) {
19 | this.xmlOut = xmlOut;
20 | }
21 |
22 | public String getSuppMsgOut() {
23 | return suppMsgOut;
24 | }
25 |
26 | public void setSuppMsgOut(String suppMsgOut) {
27 | this.suppMsgOut = suppMsgOut;
28 | }
29 |
30 | public short getResponseCode() {
31 | return responseCode;
32 | }
33 |
34 | public void setResponseCode(short responseCode) {
35 | this.responseCode = responseCode;
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/src/main/resources/1411/GetRisks.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
--------------------------------------------------------------------------------
/src/main/resources/1311/GetSurveyPrograms.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/src/main/resources/1411/GetSurveyPrograms.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/src/main/resources/1411/GetWellbores.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
--------------------------------------------------------------------------------
/src/main/resources/1411/GetFormationMarker.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/src/main/resources/1311/GetWbGeometrys.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/src/main/resources/1411/GetWbGeometrys.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/.travis.yml:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one or more
2 | # contributor license agreements. See the NOTICE file distributed with
3 | # this work for additional information regarding copyright ownership.
4 | # The ASF licenses this file to You under the Apache License, Version 2.0
5 | # (the "License"); you may not use this file except in compliance with
6 | # the License. You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
16 | language: java
17 |
18 | env:
19 | - USER_LANGUAGE=en USER_REGION=US'
20 |
21 | os:
22 | - linux
23 |
24 | jdk:
25 | - oraclejdk8
26 |
27 | install: mvn install -P !build-extras -DskipTests=true -Dmaven.javadoc.skip=true -B -V
28 | script: mvn test -P !build-extras -B
29 |
30 | # Caches mvn repository in order to speed upbuilds
31 | cache:
32 | directories:
33 | - $HOME/.m2
34 |
35 | after_success:
36 | - ./cd/before-deploy.sh
37 | - ./cd/deploy.sh
--------------------------------------------------------------------------------
/src/test/resources/1311/dtsMeasurement.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
9 |
10 |
11 | dtsMeasurement
12 |
13 | 2005-10-08T14:32:16.223Z
14 | Joe's Well Service
15 |
16 |
17 |
18 | 1FO19
19 | 1FO19-1
20 | Wellbore 1FO19-1 measurement 8Oct2005
21 | 600
22 | Hole 1FO19-1 installation 1
23 | Wellbore 1FO19-1 measurement 8Oct2005
24 | C-1
25 |
26 | 127
27 | wellhead junction box
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/src/main/resources/1311/GetLogs.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
--------------------------------------------------------------------------------
/src/test/java/com/hashmapinc/tempus/witsml/api/MockObjectType.java:
--------------------------------------------------------------------------------
1 | package com.hashmapinc.tempus.witsml.api;
2 |
3 | public enum MockObjectType {
4 |
5 | WELL ("well.xml"),
6 | WELLBORE ("wellbore.xml"),
7 | LOG ("log.xml"),
8 | MUDLOG ("mudLog.xml"),
9 | TRAJECTORY ("trajectory.xml"),
10 | BHARUN ("bhaRun.xml"),
11 | CEMENTJOB ("cementJob.xml"),
12 | CONVCORE ("convCore.xml"),
13 | FLUIDSREPORT ("fluidsReport.xml"),
14 | FORMATIONMARKER ("formationMarker.xml"),
15 | MESSAGE ("message.xml"),
16 | OPSREPORT ("opsReport.xml"),
17 | RIG ("rig.xml"),
18 | RISK ("risk.xml"),
19 | SIDEWALLCORE ("sidewallCore.xml"),
20 | SURVEYPROGRAM ("surveyProgram.xml"),
21 | TARGET ("target.xml"),
22 | TUBULAR ("tubular.xml"),
23 | WBGEOMETRY ("wbGeometry.xml"),
24 | ATTACHMENT ("attachment.xml"),
25 | DRILLREPORT ("drillReport.xml"),
26 | CHANGELOG ("changeLog.xml"),
27 | OBJECTGROUP ("objectGroup.xml"),
28 | STIMJOB ("stimJob.xml"),
29 | DTSINSTALLEDSYSTEM ("dtsInstalledSystem.xml"),
30 | REALTIME ("realtime.xml"),
31 | DTSMEASUREMENT ("dtsMeasurement.xml"),
32 | WELLLOG ("wellLog.xml"),
33 | TRAJECTORYSTATION ("trajectoryStation.xml");
34 |
35 | private final String objectType;
36 |
37 | private MockObjectType(String v) {
38 | objectType = v;
39 | }
40 |
41 | public String toString() {
42 | return this.objectType;
43 | }
44 |
45 | }
46 |
--------------------------------------------------------------------------------
/src/test/resources/1311/risk.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
9 |
10 | 6507/7-A-42
11 | W>A-42
12 | Wilcox Kick Risk
13 | Plan #2
14 | risk
15 | hydraulics
16 | gas kick
17 | 12000
18 | 12500
19 | 9000
20 | 9200
21 | 8.5
22 | 4
23 | 3
24 | Possible gas kick exiting the Wilcox formation @ 9000
25 | TVD, 12000 MD
26 | 6 of the last 10 wells drilled through the wilcox
27 | encountered severe gas kicks on exiting the bottom of the formation.
28 | A large connection gas influx was experienced as
29 | we entered this formation on an offset well, Watch for increase
30 | in connection gas, cavings, or change in resistivity.
31 | Increase mud weght to 14.7 lbs/gal 100 ft prior to
32 | exiting the formation, Maintain mud wt > 14.7lbs/gal
33 |
34 |
35 |
36 |
--------------------------------------------------------------------------------
/src/main/java/com/hashmapinc/tempus/witsml/api/ObjectType.java:
--------------------------------------------------------------------------------
1 | package com.hashmapinc.tempus.witsml.api;
2 |
3 | public enum ObjectType {
4 |
5 | WELL ("GetWells.xml"),
6 | WELLBORE ("GetWellbores.xml"),
7 | LOG ("GetLogs.xml"),
8 | MUDLOG ("GetMudLogs.xml"),
9 | TRAJECTORY ("GetTrajectorys.xml"),
10 | BHARUN ("GetBhaRuns.xml"),
11 | CEMENTJOB ("GetCementJobs.xml"),
12 | CONVCORE ("GetConvCore.xml"),
13 | FLUIDSREPORT ("GetFluidsReports.xml"),
14 | FORMATIONMARKER ("GetFormationMarker.xml"),
15 | MESSAGE ("GetMessages.xml"),
16 | OPSREPORT ("GetOpsReports.xml"),
17 | RIG ("GetRigs.xml"),
18 | RISK ("GetRisks.xml"),
19 | SIDEWALLCORE ("GetSideWallCores.xml"),
20 | SURVEYPROGRAM ("GetSurveyPrograms.xml"),
21 | TARGET ("GetTargets.xml"),
22 | TUBULAR ("GetTubulars.xml"),
23 | WBGEOMETRY ("GetWbGeometrys.xml"),
24 | ATTACHMENT ("GetAttachments.xml"),
25 | DRILLREPORT ("GetDrillReports.xml"),
26 | CHANGELOG ("GetChangeLogs.xml"),
27 | OBJECTGROUP ("GetObjectGroups.xml"),
28 | STIMJOB ("GetStimJobs.xml"),
29 | DTSINSTALLEDSYSTEM ("GetDtsInstalledSystems.xml"),
30 | REALTIME ("GetRealTimes.xml"),
31 | DTSMEASUREMENT ("GetDtsMeasurements.xml"),
32 | WELLLOG ("GetWellLogs.xml"),
33 | TRAJECTORYSTATION ("GetTrajectoryStations.xml");
34 |
35 | private final String objectType;
36 |
37 | private ObjectType(String v) {
38 | objectType = v;
39 | }
40 |
41 | public String toString() {
42 | return this.objectType;
43 | }
44 |
45 | }
46 |
--------------------------------------------------------------------------------
/src/main/java/com/hashmapinc/tempus/witsml/client/WMLSLocator.java:
--------------------------------------------------------------------------------
1 | package com.hashmapinc.tempus.witsml.client;
2 |
3 | import org.apache.axis2.AxisFault;
4 |
5 | import javax.xml.namespace.QName;
6 | import javax.xml.rpc.ServiceException;
7 |
8 | public class WMLSLocator implements WMLS {
9 |
10 | public WMLSLocator() {
11 | }
12 |
13 | // Use to get a proxy class for StoreSoapPort
14 | private String StoreSoapPort_address = "http://yourorg.com/yourwebservice";
15 |
16 | public String getStoreSoapPortAddress() {
17 | return StoreSoapPort_address;
18 | }
19 |
20 | public void setStoreSoapPortEndpointAddress(String address) {
21 | StoreSoapPort_address = address;
22 | }
23 |
24 | public StoreSoapPort_PortType getStoreSoapPort() {
25 | return getStoreSoapPort(StoreSoapPort_address);
26 | }
27 |
28 | public StoreSoapPort_PortType getStoreSoapPort(String portAddress) {
29 | try {
30 | return new StoreSoapBindingStub(portAddress);
31 | } catch (AxisFault e) {
32 | return null;
33 | }
34 | }
35 |
36 | /**
37 | * Set the endpoint address for the specified port name.
38 | */
39 | public void setEndpointAddress(String portName, String address) throws ServiceException {
40 |
41 | if ("StoreSoapPort".equals(portName)) {
42 | setStoreSoapPortEndpointAddress(address);
43 | } else { // Unknown Port Name
44 | throw new ServiceException(" Cannot set Endpoint Address for Unknown Port" + portName);
45 | }
46 | }
47 |
48 | /**
49 | * Set the endpoint address for the specified port name.
50 | */
51 | public void setEndpointAddress(QName portName, String address) throws ServiceException {
52 | setEndpointAddress(portName.getLocalPart(), address);
53 | }
54 | }
55 |
--------------------------------------------------------------------------------
/src/main/java/com/hashmapinc/tempus/witsml/message/_120/WMLSGetCap.java:
--------------------------------------------------------------------------------
1 |
2 | package com.hashmapinc.tempus.witsml.message._120;
3 |
4 | import javax.xml.bind.annotation.XmlAccessType;
5 | import javax.xml.bind.annotation.XmlAccessorType;
6 | import javax.xml.bind.annotation.XmlElement;
7 | import javax.xml.bind.annotation.XmlRootElement;
8 | import javax.xml.bind.annotation.XmlType;
9 |
10 |
11 | /**
12 | * Java class for anonymous complex type.
13 | *
14 | *
The following schema fragment specifies the expected content contained within this class.
15 | *
16 | *
17 | *
18 | *
19 | *
20 | *
21 | *
22 | *
23 | *
24 | *
25 | *
26 | *
27 | *
28 | *
29 | */
30 | @XmlAccessorType(XmlAccessType.FIELD)
31 | @XmlType(name = "", propOrder = {
32 | "optionsIn"
33 | })
34 | @XmlRootElement(name = "WMLS_GetCap")
35 | public class WMLSGetCap {
36 |
37 | @XmlElement(name = "OptionsIn", required = true, nillable = true)
38 | protected String optionsIn;
39 |
40 | /**
41 | * Gets the value of the optionsIn property.
42 | *
43 | * @return
44 | * possible object is
45 | * {@link String }
46 | *
47 | */
48 | public String getOptionsIn() {
49 | return optionsIn;
50 | }
51 |
52 | /**
53 | * Sets the value of the optionsIn property.
54 | *
55 | * @param value
56 | * allowed object is
57 | * {@link String }
58 | *
59 | */
60 | public void setOptionsIn(String value) {
61 | this.optionsIn = value;
62 | }
63 |
64 | }
65 |
--------------------------------------------------------------------------------
/src/main/java/com/hashmapinc/tempus/witsml/message/_120/WMLSGetBaseMsgResponse.java:
--------------------------------------------------------------------------------
1 |
2 | package com.hashmapinc.tempus.witsml.message._120;
3 |
4 | import javax.xml.bind.annotation.XmlAccessType;
5 | import javax.xml.bind.annotation.XmlAccessorType;
6 | import javax.xml.bind.annotation.XmlElement;
7 | import javax.xml.bind.annotation.XmlRootElement;
8 | import javax.xml.bind.annotation.XmlType;
9 |
10 |
11 | /**
12 | * Java class for anonymous complex type.
13 | *
14 | *
The following schema fragment specifies the expected content contained within this class.
15 | *
16 | *
17 | *
18 | *
19 | *
20 | *
21 | *
22 | *
23 | *
24 | *
25 | *
26 | *
27 | *
28 | *
29 | */
30 | @XmlAccessorType(XmlAccessType.FIELD)
31 | @XmlType(name = "", propOrder = {
32 | "result"
33 | })
34 | @XmlRootElement(name = "WMLS_GetBaseMsgResponse")
35 | public class WMLSGetBaseMsgResponse {
36 |
37 | @XmlElement(name = "Result", required = true, nillable = true)
38 | protected String result;
39 |
40 | /**
41 | * Gets the value of the result property.
42 | *
43 | * @return
44 | * possible object is
45 | * {@link String }
46 | *
47 | */
48 | public String getResult() {
49 | return result;
50 | }
51 |
52 | /**
53 | * Sets the value of the result property.
54 | *
55 | * @param value
56 | * allowed object is
57 | * {@link String }
58 | *
59 | */
60 | public void setResult(String value) {
61 | this.result = value;
62 | }
63 |
64 | }
65 |
--------------------------------------------------------------------------------
/src/main/java/com/hashmapinc/tempus/witsml/message/_120/WMLSGetVersionResponse.java:
--------------------------------------------------------------------------------
1 |
2 | package com.hashmapinc.tempus.witsml.message._120;
3 |
4 | import javax.xml.bind.annotation.XmlAccessType;
5 | import javax.xml.bind.annotation.XmlAccessorType;
6 | import javax.xml.bind.annotation.XmlElement;
7 | import javax.xml.bind.annotation.XmlRootElement;
8 | import javax.xml.bind.annotation.XmlType;
9 |
10 |
11 | /**
12 | * Java class for anonymous complex type.
13 | *
14 | *
The following schema fragment specifies the expected content contained within this class.
15 | *
16 | *
17 | *
18 | *
19 | *
20 | *
21 | *
22 | *
23 | *
24 | *
25 | *
26 | *
27 | *
28 | *
29 | */
30 | @XmlAccessorType(XmlAccessType.FIELD)
31 | @XmlType(name = "", propOrder = {
32 | "result"
33 | })
34 | @XmlRootElement(name = "WMLS_GetVersionResponse")
35 | public class WMLSGetVersionResponse {
36 |
37 | @XmlElement(name = "Result", required = true, nillable = true)
38 | protected String result;
39 |
40 | /**
41 | * Gets the value of the result property.
42 | *
43 | * @return
44 | * possible object is
45 | * {@link String }
46 | *
47 | */
48 | public String getResult() {
49 | return result;
50 | }
51 |
52 | /**
53 | * Sets the value of the result property.
54 | *
55 | * @param value
56 | * allowed object is
57 | * {@link String }
58 | *
59 | */
60 | public void setResult(String value) {
61 | this.result = value;
62 | }
63 |
64 | }
65 |
--------------------------------------------------------------------------------
/src/test/resources/1311/formationMarker.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
9 |
10 | formationMarker
11 |
12 | 2001-10-31T08:15:00.000Z
13 | WITSML 1.3.0.0 Server
14 | John Smith
15 |
16 |
17 |
18 | 6507/7-A-42
19 | A-42
20 | Rotliegende
21 | 4990
22 | 4685
23 | 5000
24 | 4695
25 | 200
26 | 260
27 | 185
28 | 4997
29 | 4692
30 | 10
31 | 200
32 | Permian
33 | Rotliegende
34 | Top Reservior
35 |
36 | actual
37 | Waiting on wireline GR to confirm pick
38 |
39 |
40 |
41 |
--------------------------------------------------------------------------------
/src/main/java/com/hashmapinc/tempus/witsml/message/_120/WMLSGetBaseMsg.java:
--------------------------------------------------------------------------------
1 |
2 | package com.hashmapinc.tempus.witsml.message._120;
3 |
4 | import javax.xml.bind.annotation.XmlAccessType;
5 | import javax.xml.bind.annotation.XmlAccessorType;
6 | import javax.xml.bind.annotation.XmlElement;
7 | import javax.xml.bind.annotation.XmlRootElement;
8 | import javax.xml.bind.annotation.XmlType;
9 |
10 |
11 | /**
12 | * Java class for anonymous complex type.
13 | *
14 | *
The following schema fragment specifies the expected content contained within this class.
15 | *
16 | *
17 | *
18 | *
19 | *
20 | *
21 | *
22 | *
23 | *
24 | *
25 | *
26 | *
27 | *
28 | *
29 | */
30 | @XmlAccessorType(XmlAccessType.FIELD)
31 | @XmlType(name = "", propOrder = {
32 | "returnValueIn"
33 | })
34 | @XmlRootElement(name = "WMLS_GetBaseMsg")
35 | public class WMLSGetBaseMsg {
36 |
37 | @XmlElement(name = "ReturnValueIn", required = true, type = Short.class, nillable = true)
38 | protected Short returnValueIn;
39 |
40 | /**
41 | * Gets the value of the returnValueIn property.
42 | *
43 | * @return
44 | * possible object is
45 | * {@link Short }
46 | *
47 | */
48 | public Short getReturnValueIn() {
49 | return returnValueIn;
50 | }
51 |
52 | /**
53 | * Sets the value of the returnValueIn property.
54 | *
55 | * @param value
56 | * allowed object is
57 | * {@link Short }
58 | *
59 | */
60 | public void setReturnValueIn(Short value) {
61 | this.returnValueIn = value;
62 | }
63 |
64 | }
65 |
--------------------------------------------------------------------------------
/src/test/resources/1411/risk.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
9 |
13 |
14 | 6507/7-A-42
15 | W>A-42
16 | Wilcox Kick Risk
17 | Plan #2
18 | risk
19 | hydraulics
20 | gas kick
21 | 12000
22 | 12500
23 | 9000
24 | 9200
25 | 8.5
26 | 4
27 | 3
28 | Possible gas kick exiting the Wilcox formation @ 9000
29 | TVD, 12000 MD
30 | 6 of the last 10 wells drilled through the wilcox
31 | encountered severe gas kicks on exiting the bottom of the formation.
32 | A large connection gas influx was experienced as
33 | we entered this formation on an offset well, Watch for increase
34 | in connection gas, cavings, or change in resistivity.
35 | Increase mud weght to 14.7 lbs/gal 100 ft prior to
36 | exiting the formation, Maintain mud wt > 14.7lbs/gal
37 |
38 |
39 |
40 |
--------------------------------------------------------------------------------
/src/main/resources/1411/GetLogData.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
--------------------------------------------------------------------------------
/src/test/resources/1411/formationMarker.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
9 |
13 |
14 | formationMarker
15 |
16 | 2001-10-31T08:15:00.000Z
17 | John Smith
18 |
19 |
20 |
21 | 6507/7-A-42
22 | A-42
23 | Rotliegende
24 | 4990
25 | 4685
26 | 5000
27 | 4695
28 | 200
29 | 260
30 | 185
31 | 4997
32 | 4692
33 | 10
34 | 200
35 | Rotliegende
36 | Permian
37 | Top Reservior
38 |
39 | actual
40 | Waiting on wireline GR to confirm pick
41 |
42 |
43 |
44 |
--------------------------------------------------------------------------------
/src/main/java/com/hashmapinc/tempus/witsml/api/AbstractRequestTracker.java:
--------------------------------------------------------------------------------
1 | package com.hashmapinc.tempus.witsml.api;
2 |
3 | import com.hashmapinc.tempus.witsml.client.Client;
4 |
5 | import java.rmi.RemoteException;
6 |
7 | public abstract class AbstractRequestTracker {
8 |
9 | private String wellId;
10 | private String wellboreId;
11 | private String objectId;
12 | private String query;
13 | private String capabilitesIn;
14 | private String optionsIn;
15 | private WitsmlVersion version;
16 |
17 | public String getWellId() {
18 | return wellId;
19 | }
20 |
21 | public void setWellId(String wellId) {
22 | this.wellId = wellId;
23 | }
24 |
25 | public String getWellboreId() {
26 | return wellboreId;
27 | }
28 |
29 | public void setWellboreId(String wellboreId) {
30 | this.wellboreId = wellboreId;
31 | }
32 |
33 | public String getObjectId() {
34 | return objectId;
35 | }
36 |
37 | public void setObjectId(String objectId) {
38 | this.objectId = objectId;
39 | }
40 |
41 | public String getQuery() {
42 | return query;
43 | }
44 |
45 | public void setQuery(String query) {
46 | this.query = query;
47 | }
48 |
49 | public String getCapabilitiesIn(){
50 | return capabilitesIn;
51 | }
52 |
53 | public void setCapabilitesIn(String capabilitesIn){
54 | this.capabilitesIn = capabilitesIn;
55 | }
56 |
57 | public String getOptionsIn(){
58 | return optionsIn;
59 | }
60 |
61 | public void setOptionsIn(String optionsIn){
62 | this.optionsIn = optionsIn;
63 | }
64 |
65 | public WitsmlVersion getVersion(){
66 | return version;
67 | }
68 |
69 | public void setVersion(WitsmlVersion version){
70 | this.version = version;
71 | }
72 |
73 | public abstract void initalize(WitsmlClient witsmlClient, String wellId, String wellboreId);
74 |
75 | public abstract T ExecuteRequest() throws RemoteException;
76 |
77 | }
78 |
--------------------------------------------------------------------------------
/src/test/resources/1411/changeLog.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
9 |
13 |
14 | changeLog
15 |
16 | 2001-10-31T08:15:00.000Z
17 | John Smith
18 |
19 |
20 |
21 | 6507/7-A-42
22 | A-42
23 | L001
24 | log
25 | update
26 | Modified the "Mud Flow in Avg" values between 505.03m and 508.01m.
27 |
28 | 2003-11-24T08:15:00.000Z
29 | add
30 | Added object.
31 |
32 |
33 | 2003-11-24T08:17:00.000Z
34 | update
35 | Modified the "Mud Flow in Avg" values between 505.03 m and 508.01 m.
36 | 505.03
37 | 508.01
38 | Mud Flow in Avg
39 |
40 |
41 | 2003-11-24T08:15:00.000Z
42 | 2003-11-24T08:17:00.000Z
43 |
44 |
45 |
46 |
--------------------------------------------------------------------------------
/src/test/resources/1311/message.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
9 |
10 | message
11 |
12 | 2001-05-31T08:15:00.000Z
13 | WITSML 1.3.0.0 Server
14 | John Smith
15 |
16 |
17 |
18 | 6507/7-A-42
19 | A-42
20 | message 35
21 | 2001-05-31T08:14:00.000Z
22 | drilling
23 | 3000
24 | 2980
25 | warning
26 | Message with the message document
27 | 100
28 | minor
29 | low
30 |
31 | plan
32 | These are the comments associated with the message data object.
33 |
34 |
35 |
36 | 6507/7-A-42
37 | A-42
38 | message 36
39 | 2001-05-31T08:15:00.000Z
40 | drilling
41 | 3002
42 | 2982
43 | warning
44 | Message with the message document
45 | 100
46 | minor
47 | low
48 |
49 | plan
50 | These are the comments associated with the message data object.
51 |
52 |
53 |
54 |
--------------------------------------------------------------------------------
/src/main/resources/1311/GetWellLogs.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
--------------------------------------------------------------------------------
/src/test/resources/1411/message.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
9 |
13 |
14 | message
15 |
16 | 2001-05-31T08:15:00.000Z
17 | John Smith
18 |
19 |
20 |
21 | 6507/7-A-42
22 | A-42
23 | message 35
24 | 2001-05-31T08:14:00.000Z
25 | drilling
26 | 3000
27 | 2980
28 | warning
29 | Message with the message document
30 | 100
31 | minor
32 | low
33 |
34 | plan
35 | These are the comments associated with the message data object.
36 |
37 |
38 |
39 | 6507/7-A-42
40 | A-42
41 | message 36
42 | 2001-05-31T08:15:00.000Z
43 | drilling
44 | 3002
45 | 2982
46 | warning
47 | Message with the message document
48 | 100
49 | minor
50 | low
51 |
52 | plan
53 | These are the comments associated with the message data object.
54 |
55 |
56 |
57 |
--------------------------------------------------------------------------------
/src/main/resources/1311/GetTargets.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
--------------------------------------------------------------------------------
/src/main/resources/1411/GetTargets.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
--------------------------------------------------------------------------------
/src/main/resources/1411/GetObjectGroups.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
--------------------------------------------------------------------------------
/src/main/java/com/hashmapinc/tempus/witsml/message/_120/WMLSAddToStoreResponse.java:
--------------------------------------------------------------------------------
1 |
2 | package com.hashmapinc.tempus.witsml.message._120;
3 |
4 | import javax.xml.bind.annotation.XmlAccessType;
5 | import javax.xml.bind.annotation.XmlAccessorType;
6 | import javax.xml.bind.annotation.XmlElement;
7 | import javax.xml.bind.annotation.XmlRootElement;
8 | import javax.xml.bind.annotation.XmlType;
9 |
10 |
11 | /**
12 | * Java class for anonymous complex type.
13 | *
14 | *
The following schema fragment specifies the expected content contained within this class.
15 | *
16 | *
17 | *
18 | *
19 | *
20 | *
21 | *
22 | *
23 | *
24 | *
25 | *
26 | *
27 | *
28 | *
29 | *
30 | */
31 | @XmlAccessorType(XmlAccessType.FIELD)
32 | @XmlType(name = "", propOrder = {
33 | "suppMsgOut",
34 | "result"
35 | })
36 | @XmlRootElement(name = "WMLS_AddToStoreResponse")
37 | public class WMLSAddToStoreResponse {
38 |
39 | @XmlElement(name = "SuppMsgOut", required = true, nillable = true)
40 | protected String suppMsgOut;
41 | @XmlElement(name = "Result", required = true, type = Short.class, nillable = true)
42 | protected Short result;
43 |
44 | /**
45 | * Gets the value of the suppMsgOut property.
46 | *
47 | * @return
48 | * possible object is
49 | * {@link String }
50 | *
51 | */
52 | public String getSuppMsgOut() {
53 | return suppMsgOut;
54 | }
55 |
56 | /**
57 | * Sets the value of the suppMsgOut property.
58 | *
59 | * @param value
60 | * allowed object is
61 | * {@link String }
62 | *
63 | */
64 | public void setSuppMsgOut(String value) {
65 | this.suppMsgOut = value;
66 | }
67 |
68 | /**
69 | * Gets the value of the result property.
70 | *
71 | * @return
72 | * possible object is
73 | * {@link Short }
74 | *
75 | */
76 | public Short getResult() {
77 | return result;
78 | }
79 |
80 | /**
81 | * Sets the value of the result property.
82 | *
83 | * @param value
84 | * allowed object is
85 | * {@link Short }
86 | *
87 | */
88 | public void setResult(Short value) {
89 | this.result = value;
90 | }
91 |
92 | }
93 |
--------------------------------------------------------------------------------
/src/main/resources/1311/GetFluidsReports.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
--------------------------------------------------------------------------------
/src/main/java/com/hashmapinc/tempus/witsml/message/_120/WMLSUpdateInStoreResponse.java:
--------------------------------------------------------------------------------
1 |
2 | package com.hashmapinc.tempus.witsml.message._120;
3 |
4 | import javax.xml.bind.annotation.XmlAccessType;
5 | import javax.xml.bind.annotation.XmlAccessorType;
6 | import javax.xml.bind.annotation.XmlElement;
7 | import javax.xml.bind.annotation.XmlRootElement;
8 | import javax.xml.bind.annotation.XmlType;
9 |
10 |
11 | /**
12 | * Java class for anonymous complex type.
13 | *
14 | *
The following schema fragment specifies the expected content contained within this class.
15 | *
16 | *
17 | *
18 | *
19 | *
20 | *
21 | *
22 | *
23 | *
24 | *
25 | *
26 | *
27 | *
28 | *
29 | *
30 | */
31 | @XmlAccessorType(XmlAccessType.FIELD)
32 | @XmlType(name = "", propOrder = {
33 | "suppMsgOut",
34 | "result"
35 | })
36 | @XmlRootElement(name = "WMLS_UpdateInStoreResponse")
37 | public class WMLSUpdateInStoreResponse {
38 |
39 | @XmlElement(name = "SuppMsgOut", required = true, nillable = true)
40 | protected String suppMsgOut;
41 | @XmlElement(name = "Result", required = true, type = Short.class, nillable = true)
42 | protected Short result;
43 |
44 | /**
45 | * Gets the value of the suppMsgOut property.
46 | *
47 | * @return
48 | * possible object is
49 | * {@link String }
50 | *
51 | */
52 | public String getSuppMsgOut() {
53 | return suppMsgOut;
54 | }
55 |
56 | /**
57 | * Sets the value of the suppMsgOut property.
58 | *
59 | * @param value
60 | * allowed object is
61 | * {@link String }
62 | *
63 | */
64 | public void setSuppMsgOut(String value) {
65 | this.suppMsgOut = value;
66 | }
67 |
68 | /**
69 | * Gets the value of the result property.
70 | *
71 | * @return
72 | * possible object is
73 | * {@link Short }
74 | *
75 | */
76 | public Short getResult() {
77 | return result;
78 | }
79 |
80 | /**
81 | * Sets the value of the result property.
82 | *
83 | * @param value
84 | * allowed object is
85 | * {@link Short }
86 | *
87 | */
88 | public void setResult(Short value) {
89 | this.result = value;
90 | }
91 |
92 | }
93 |
--------------------------------------------------------------------------------
/src/main/java/com/hashmapinc/tempus/witsml/message/_120/WMLSDeleteFromStoreResponse.java:
--------------------------------------------------------------------------------
1 |
2 | package com.hashmapinc.tempus.witsml.message._120;
3 |
4 | import javax.xml.bind.annotation.XmlAccessType;
5 | import javax.xml.bind.annotation.XmlAccessorType;
6 | import javax.xml.bind.annotation.XmlElement;
7 | import javax.xml.bind.annotation.XmlRootElement;
8 | import javax.xml.bind.annotation.XmlType;
9 |
10 |
11 | /**
12 | * Java class for anonymous complex type.
13 | *
14 | *
The following schema fragment specifies the expected content contained within this class.
15 | *
16 | *
17 | *
18 | *
19 | *
20 | *
21 | *
22 | *
23 | *
24 | *
25 | *
26 | *
27 | *
28 | *
29 | *
30 | */
31 | @XmlAccessorType(XmlAccessType.FIELD)
32 | @XmlType(name = "", propOrder = {
33 | "suppMsgOut",
34 | "result"
35 | })
36 | @XmlRootElement(name = "WMLS_DeleteFromStoreResponse")
37 | public class WMLSDeleteFromStoreResponse {
38 |
39 | @XmlElement(name = "SuppMsgOut", required = true, nillable = true)
40 | protected String suppMsgOut;
41 | @XmlElement(name = "Result", required = true, type = Short.class, nillable = true)
42 | protected Short result;
43 |
44 | /**
45 | * Gets the value of the suppMsgOut property.
46 | *
47 | * @return
48 | * possible object is
49 | * {@link String }
50 | *
51 | */
52 | public String getSuppMsgOut() {
53 | return suppMsgOut;
54 | }
55 |
56 | /**
57 | * Sets the value of the suppMsgOut property.
58 | *
59 | * @param value
60 | * allowed object is
61 | * {@link String }
62 | *
63 | */
64 | public void setSuppMsgOut(String value) {
65 | this.suppMsgOut = value;
66 | }
67 |
68 | /**
69 | * Gets the value of the result property.
70 | *
71 | * @return
72 | * possible object is
73 | * {@link Short }
74 | *
75 | */
76 | public Short getResult() {
77 | return result;
78 | }
79 |
80 | /**
81 | * Sets the value of the result property.
82 | *
83 | * @param value
84 | * allowed object is
85 | * {@link Short }
86 | *
87 | */
88 | public void setResult(Short value) {
89 | this.result = value;
90 | }
91 |
92 | }
93 |
--------------------------------------------------------------------------------
/src/main/resources/1311/GetBhaRuns.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
--------------------------------------------------------------------------------
/src/main/resources/1311/GetRealTimes.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
--------------------------------------------------------------------------------
/src/main/resources/1411/GetBhaRuns.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
--------------------------------------------------------------------------------
/src/main/resources/1411/GetFluidsReports.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
--------------------------------------------------------------------------------
/src/main/resources/1311/GetSideWallCores.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
--------------------------------------------------------------------------------
/src/main/resources/1411/GetSideWallCores.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
--------------------------------------------------------------------------------
/src/test/resources/1311/wbGeometry.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
9 |
10 | wbGeometry
11 |
12 | 2001-10-31T08:15:00.000Z
13 | WITSML 1.3.0.0 Server
14 | John Smith
15 |
16 |
17 |
18 | 6507/7-A-42
19 | A-42
20 | WB Geometry ABC
21 | 2001-10-31T08:15:00.000
22 | 8000.00
23 | 50.00
24 | 1000.00
25 |
26 | casing
27 | 3000.00
28 | 4000.00
29 | 2500.00
30 | 2800.00
31 | 8.00
32 | 10.00
33 | 30.00
34 | E
35 | false
36 | 7.50
37 | 0.60
38 |
39 |
40 | plan
41 | These are the comments associated with the Wellbore Geometrydata object.
42 |
43 |
44 |
45 | 6507/7-A-42
46 | A-42
47 | WB Geometry ABCD
48 | 2001-10-31T08:15:00.000
49 | 8000.00
50 | 50.00
51 | 1000.00
52 |
53 | casing
54 | 4000.00
55 | 5000.00
56 | 3500.00
57 | 3800.00
58 | 8.00
59 | 10.00
60 | 30.00
61 | E
62 | false
63 | 7.50
64 | 0.60
65 |
66 |
67 | plan
68 | These are the comments associated with the Wellbore Geometrydata object.
69 |
70 |
71 |
72 |
--------------------------------------------------------------------------------
/src/test/resources/1411/wbGeometry.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
9 |
13 |
14 | wbGeometry
15 |
16 | 2001-10-31T08:15:00.000Z
17 | John Smith
18 |
19 |
20 |
21 | 6507/7-A-42
22 | A-42
23 | WB Geometry ABC
24 | 2001-10-31T08:15:00.000Z
25 | 8000.00
26 | 50.00
27 | 1000.00
28 |
29 | casing
30 | 3000.00
31 | 4000.00
32 | 2500.00
33 | 2800.00
34 | 8.00
35 | 10.00
36 | 30.00
37 | E
38 | false
39 | 7.50
40 | 0.60
41 |
42 |
43 | plan
44 | These are the comments associated with the Wellbore Geometrydata object.
45 |
46 |
47 |
48 | 6507/7-A-42
49 | A-42
50 | WB Geometry ABCD
51 | 2001-10-31T08:15:00.000Z
52 | 8000.00
53 | 50.00
54 | 1000.00
55 |
56 | casing
57 | 4000.00
58 | 5000.00
59 | 3500.00
60 | 3800.00
61 | 8.00
62 | 10.00
63 | 30.00
64 | E
65 | false
66 | 7.50
67 | 0.60
68 |
69 |
70 | plan
71 | These are the comments associated with the Wellbore Geometrydata object.
72 |
73 |
74 |
75 |
--------------------------------------------------------------------------------
/src/test/resources/1311/realtime.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
9 |
10 | 2003-01-01T00:00:05Z
11 | 5000.5
12 | 1
13 | drilling
14 |
15 | 6507/7-A-42
16 | A-42
17 | BHI
18 | 1
19 | 2003-01-01T00:00:00Z
20 | Realtime stream for subscription XSERV::12.
21 |
22 | group A
23 | false
24 |
25 | MYHKLD
26 | double
27 | hookload (average)
28 | Hookload
29 | hkldAv
30 | 3.1
31 | this can be a tool type
32 |
33 | time
34 | average
35 | 3
36 |
37 |
38 |
39 |
40 | group B
41 | true
42 |
43 | MYSHALLOWRES
44 | resistivity
45 | 1
46 | ohm.m
47 |
48 |
49 | MYDEEPRES
50 | resistivity
51 | 2
52 | ohm.m
53 |
54 |
55 |
56 |
57 | group A
58 | MYHKLD
59 | 2003-01-01T00:03:00Z
60 | 4980.3
61 | 123.4
62 | 3
63 | good
64 | 55.4
65 |
66 |
67 | group B
68 | 1
69 | 4980.3
70 | 456.7,890.1
71 |
72 |
73 |
74 | 2003-01-01T00:00:10Z
75 | 2
76 | drilling
77 |
78 | group A
79 | MYHKLD
80 | 123.4
81 |
82 |
83 | group B
84 | 2
85 | 4980.3
86 | 457.7,891.1
87 |
88 |
89 |
90 |
--------------------------------------------------------------------------------
/src/test/resources/1311/wellbore.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
9 |
10 | wellbore
11 |
12 | 2001-10-31T08:15:00.000Z
13 | WITSML 1.3.0.0 Server
14 | John Smith
15 |
16 |
17 |
18 | 6507/7-A-42
19 | A-42
20 | 1234-0987
21 | 02
22 | Govt001
23 | active
24 | exploration
25 | initial
26 | horizontal
27 | 2001-03-15T13:20:00.000
28 | 0
29 | 0
30 | 0
31 | 0
32 | 15800
33 | 12567
34 | 12800
35 | 9567
36 | 128
37 |
38 | 2001-04-30T08:15:00.000
39 | 2001-05-31T08:15:00.000
40 | plan
41 | These are the comments associated with the Wellbore data object.
42 |
43 |
44 |
45 | 6507/7-A-42
46 | A-43
47 | A-42
48 | Wellbore Number 2
49 | 03
50 | Govt Number 12345
51 | drilling
52 | exploration
53 | sidetrack
54 | horizontal
55 | 2001-04-14T09:25:00.000
56 | 10760
57 | 9230
58 | 10760
59 | 9230
60 | 15800
61 | 12567
62 | 12900
63 | 9567
64 | 35
65 |
66 | 2001-04-30T08:15:00.000
67 | 2001-05-31T08:15:00.000
68 | plan
69 | These are the comments associated with the Wellbore data object.
70 |
71 |
72 |
73 |
--------------------------------------------------------------------------------
/src/test/resources/1411/wellbore.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
9 |
13 |
14 | wellbore
15 |
16 | 2001-10-31T08:15:00.000Z
17 | John Smith
18 |
19 |
20 |
21 | 6507/7-A-42
22 | A-42
23 | 1234-0987
24 | 02
25 | Govt001
26 | active
27 | exploration
28 | initial
29 | horizontal
30 | 2001-03-15T13:20:00.000Z
31 | 0
32 | 0
33 | 0
34 | 0
35 | 15800
36 | 12567
37 | 12800
38 | 9567
39 | 128
40 |
41 | 2001-04-30T08:15:00.000Z
42 | 2001-05-31T08:15:00.000Z
43 | plan
44 | These are the comments associated with the Wellbore data object.
45 |
46 |
47 |
48 | 6507/7-A-42
49 | A-43
50 | A-42
51 | Wellbore Number 2
52 | 03
53 | Govt Number 12345
54 | drilling
55 | exploration
56 | sidetrack
57 | horizontal
58 | 2001-04-14T09:25:00.000Z
59 | 10760
60 | 9230
61 | 10760
62 | 9230
63 | 15800
64 | 12567
65 | 12900
66 | 9567
67 | 35
68 |
69 | 2001-04-30T08:15:00.000Z
70 | 2001-05-31T08:15:00.000Z
71 | plan
72 | These are the comments associated with the Wellbore data object.
73 |
74 |
75 |
76 |
--------------------------------------------------------------------------------
/src/main/resources/1311/GetTrajectoryStations.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
--------------------------------------------------------------------------------
/src/main/java/com/hashmapinc/tempus/witsml/message/_120/WMLSGetFromStoreResponse.java:
--------------------------------------------------------------------------------
1 |
2 | package com.hashmapinc.tempus.witsml.message._120;
3 |
4 | import javax.xml.bind.annotation.XmlAccessType;
5 | import javax.xml.bind.annotation.XmlAccessorType;
6 | import javax.xml.bind.annotation.XmlElement;
7 | import javax.xml.bind.annotation.XmlRootElement;
8 | import javax.xml.bind.annotation.XmlType;
9 |
10 |
11 | /**
12 | * Java class for anonymous complex type.
13 | *
14 | *
The following schema fragment specifies the expected content contained within this class.
15 | *
16 | *
17 | *
18 | *
19 | *
20 | *
21 | *
22 | *
23 | *
24 | *
25 | *
26 | *
27 | *
28 | *
29 | *
30 | *
31 | */
32 | @XmlAccessorType(XmlAccessType.FIELD)
33 | @XmlType(name = "", propOrder = {
34 | "xmLout",
35 | "suppMsgOut",
36 | "result"
37 | })
38 | @XmlRootElement(name = "WMLS_GetFromStoreResponse")
39 | public class WMLSGetFromStoreResponse {
40 |
41 | @XmlElement(name = "XMLout", required = true, nillable = true)
42 | protected String xmLout;
43 | @XmlElement(name = "SuppMsgOut", required = true, nillable = true)
44 | protected String suppMsgOut;
45 | @XmlElement(name = "Result", required = true, type = Short.class, nillable = true)
46 | protected Short result;
47 |
48 | /**
49 | * Gets the value of the xmLout property.
50 | *
51 | * @return
52 | * possible object is
53 | * {@link String }
54 | *
55 | */
56 | public String getXMLout() {
57 | return xmLout;
58 | }
59 |
60 | /**
61 | * Sets the value of the xmLout property.
62 | *
63 | * @param value
64 | * allowed object is
65 | * {@link String }
66 | *
67 | */
68 | public void setXMLout(String value) {
69 | this.xmLout = value;
70 | }
71 |
72 | /**
73 | * Gets the value of the suppMsgOut property.
74 | *
75 | * @return
76 | * possible object is
77 | * {@link String }
78 | *
79 | */
80 | public String getSuppMsgOut() {
81 | return suppMsgOut;
82 | }
83 |
84 | /**
85 | * Sets the value of the suppMsgOut property.
86 | *
87 | * @param value
88 | * allowed object is
89 | * {@link String }
90 | *
91 | */
92 | public void setSuppMsgOut(String value) {
93 | this.suppMsgOut = value;
94 | }
95 |
96 | /**
97 | * Gets the value of the result property.
98 | *
99 | * @return
100 | * possible object is
101 | * {@link Short }
102 | *
103 | */
104 | public Short getResult() {
105 | return result;
106 | }
107 |
108 | /**
109 | * Sets the value of the result property.
110 | *
111 | * @param value
112 | * allowed object is
113 | * {@link Short }
114 | *
115 | */
116 | public void setResult(Short value) {
117 | this.result = value;
118 | }
119 |
120 | }
121 |
--------------------------------------------------------------------------------
/src/main/java/com/hashmapinc/tempus/witsml/message/_120/WMLSGetCapResponse.java:
--------------------------------------------------------------------------------
1 |
2 | package com.hashmapinc.tempus.witsml.message._120;
3 |
4 | import javax.xml.bind.annotation.XmlAccessType;
5 | import javax.xml.bind.annotation.XmlAccessorType;
6 | import javax.xml.bind.annotation.XmlElement;
7 | import javax.xml.bind.annotation.XmlRootElement;
8 | import javax.xml.bind.annotation.XmlType;
9 |
10 |
11 | /**
12 | * Java class for anonymous complex type.
13 | *
14 | *
The following schema fragment specifies the expected content contained within this class.
15 | *
16 | *
17 | *
18 | *
19 | *
20 | *
21 | *
22 | *
23 | *
24 | *
25 | *
26 | *
27 | *
28 | *
29 | *
30 | *
31 | */
32 | @XmlAccessorType(XmlAccessType.FIELD)
33 | @XmlType(name = "", propOrder = {
34 | "capabilitiesOut",
35 | "suppMsgOut",
36 | "result"
37 | })
38 | @XmlRootElement(name = "WMLS_GetCapResponse")
39 | public class WMLSGetCapResponse {
40 |
41 | @XmlElement(name = "CapabilitiesOut", required = true, nillable = true)
42 | protected String capabilitiesOut;
43 | @XmlElement(name = "SuppMsgOut", required = true, nillable = true)
44 | protected String suppMsgOut;
45 | @XmlElement(name = "Result", required = true, type = Short.class, nillable = true)
46 | protected Short result;
47 |
48 | /**
49 | * Gets the value of the capabilitiesOut property.
50 | *
51 | * @return
52 | * possible object is
53 | * {@link String }
54 | *
55 | */
56 | public String getCapabilitiesOut() {
57 | return capabilitiesOut;
58 | }
59 |
60 | /**
61 | * Sets the value of the capabilitiesOut property.
62 | *
63 | * @param value
64 | * allowed object is
65 | * {@link String }
66 | *
67 | */
68 | public void setCapabilitiesOut(String value) {
69 | this.capabilitiesOut = value;
70 | }
71 |
72 | /**
73 | * Gets the value of the suppMsgOut property.
74 | *
75 | * @return
76 | * possible object is
77 | * {@link String }
78 | *
79 | */
80 | public String getSuppMsgOut() {
81 | return suppMsgOut;
82 | }
83 |
84 | /**
85 | * Sets the value of the suppMsgOut property.
86 | *
87 | * @param value
88 | * allowed object is
89 | * {@link String }
90 | *
91 | */
92 | public void setSuppMsgOut(String value) {
93 | this.suppMsgOut = value;
94 | }
95 |
96 | /**
97 | * Gets the value of the result property.
98 | *
99 | * @return
100 | * possible object is
101 | * {@link Short }
102 | *
103 | */
104 | public Short getResult() {
105 | return result;
106 | }
107 |
108 | /**
109 | * Sets the value of the result property.
110 | *
111 | * @param value
112 | * allowed object is
113 | * {@link Short }
114 | *
115 | */
116 | public void setResult(Short value) {
117 | this.result = value;
118 | }
119 |
120 | }
121 |
--------------------------------------------------------------------------------
/src/test/resources/1411/objectGroup.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
10 |
15 |
16 | ABCD
17 | ABCD
18 | ABCD
19 | drilling
20 | 1234
21 | ABCD
22 | abcd
23 |
24 | ABCD
25 | date time
26 | 1
27 | 1
28 | 1
29 | 12.345678
30 | 12.345678
31 | 2008-12-12T00:00:00Z
32 | 2008-12-12T00:00:00Z
33 | ABCD
34 | 12.345678
35 | 2008-12-12T00:00:00Z
36 | abcd
37 |
38 | abcd
39 | ABCD
40 | string
41 | 2008-12-12T00:00:00Z
42 | 12.345678
43 | 1234
44 | abcd
45 | ABCD
46 |
47 |
48 |
49 | ABCD
50 | 2008-12-12T00:00:00Z
51 | 2008-12-12T00:00:00Z
52 | actual
53 | abcd
54 | ABCD
55 | Z
56 | ABCD
57 | true
58 |
59 |
60 | abcd
61 | ABCD
62 | string
63 | 2008-12-12T00:00:00Z
64 | 12.345678
65 | 1234
66 | abcd
67 | ABCD
68 |
69 |
70 |
71 |
72 |
73 |
--------------------------------------------------------------------------------
/src/main/resources/1311/GetWells.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 |
110 |
111 |
112 |
113 |
114 |
115 |
116 |
117 |
118 |
119 |
120 |
121 |
122 |
123 |
124 |
125 |
126 |
127 |
128 |
129 |
130 |
131 |
132 |
133 |
134 |
135 |
136 |
137 |
138 |
139 |
140 |
141 |
142 |
--------------------------------------------------------------------------------
/src/test/resources/1311/sidewallCore.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
9 |
10 | sidewallCore
11 |
12 | 2001-10-31T08:15:00.00Z
13 | WITSML 1.3.0.0 Server
14 | John Smith
15 |
16 |
17 |
18 | 6507/7-A-42
19 | A-42
20 | Deep Drill #5
21 | 2001-08-31T08:15:00.000
22 | 2001-08-01T13:20:00.000
23 | 5000
24 | GR
25 | 6700
26 | Schlumberger
27 | Corelab
28 | John Smith
29 | SCT
30 | 8.5
31 | 1
32 | 30
33 | 26
34 | 2
35 | 1
36 | 1
37 | 27
38 |
39 | 5001
40 |
41 | Sandstone
42 | SS
43 | 100
44 | Sandstone: vf -f, clr-frost, mod srt, gd vis por
45 | Quartz Arenite
46 | Quartz
47 | NA
48 | Lt. Pale Yel
49 | Friable
50 | Mod Soft
51 | Fine-Med
52 | Mod Rnd
53 | Fair
54 | Quartz
55 | Mod Vis Por
56 | Low
57 | 2.65
58 |
59 | Pyrite
60 | 10
61 | sparse
62 | lg crystals
63 |
64 |
65 |
66 | good
67 | brown
68 | even
69 | 50
70 | white
71 | 25
72 | faint
73 | Nat Flor Desc
74 | white
75 | fast
76 | strong
77 | streaming
78 | bright
79 | bright white
80 | instantaneous
81 | strong
82 | streaming
83 | bright
84 | brown
85 | Good show, lt-dk brown even stn, inst bright lt blue-white streaming cut fluor
86 | None
87 | Petroliferous
88 |
89 | Rotliegende
90 | Good sample, no fragments
91 |
92 |
93 | plan
94 | Good sample, no fragments
95 |
96 |
97 |
98 |
--------------------------------------------------------------------------------
/src/examples/scala/pom.xml:
--------------------------------------------------------------------------------
1 |
2 | 4.0.0
3 | com.hashmapinc.tempus
4 | scala-witsml
5 | 1.0-SNAPSHOT
6 | 2008
7 |
8 | 2.11.6
9 |
10 |
11 |
12 |
13 | scala-tools.org
14 | Scala-Tools Maven2 Repository
15 | http://scala-tools.org/repo-releases
16 |
17 |
18 |
19 |
20 |
21 | scala-tools.org
22 | Scala-Tools Maven2 Repository
23 | http://scala-tools.org/repo-releases
24 |
25 |
26 |
27 |
28 |
29 | org.scala-lang
30 | scala-library
31 | ${scala.version}
32 |
33 |
34 | com.hashmapinc.tempus
35 | WitsmlObjects
36 | 1.0
37 |
38 |
39 | com.hashmapinc.tempus
40 | witsml-client
41 | 1.0.1
42 |
43 |
44 | com.hashmapinc.tempus
45 | WitsmlObjects
46 | 1.0
47 |
48 |
49 | junit
50 | junit
51 | 4.4
52 | test
53 |
54 |
55 | org.specs
56 | specs
57 | 1.2.5
58 | test
59 |
60 |
61 |
62 |
63 | src/main/scala
64 | src/test/scala
65 |
66 |
67 | org.scala-tools
68 | maven-scala-plugin
69 |
70 |
71 |
72 | compile
73 | testCompile
74 |
75 |
76 |
77 |
78 | ${scala.version}
79 |
80 | -target:jvm-1.5
81 |
82 |
83 |
84 |
85 | org.apache.maven.plugins
86 | maven-eclipse-plugin
87 |
88 | true
89 |
90 | ch.epfl.lamp.sdt.core.scalabuilder
91 |
92 |
93 | ch.epfl.lamp.sdt.core.scalanature
94 |
95 |
96 | org.eclipse.jdt.launching.JRE_CONTAINER
97 | ch.epfl.lamp.sdt.launching.SCALA_CONTAINER
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 | org.scala-tools
107 | maven-scala-plugin
108 |
109 | ${scala.version}
110 |
111 |
112 |
113 |
114 |
--------------------------------------------------------------------------------
/src/test/resources/1311/trajectoryStation.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
9 |
10 | mudLog
11 |
12 | 2001-10-31T08:15:00.000Z
13 | WITSML 1.3.0.0 Server
14 | John Smith
15 |
16 |
17 |
18 | 6507/7-A-42
19 | A-42
20 | Plan #1
21 | Target #2
22 | 2001-10-21T08:15:00.000
23 | tie in point
24 | 0
25 | 0
26 | 0
27 | 47.3
28 | 47.3
29 | 0
30 | 0
31 | 0
32 | 0
33 | 0
34 | 0
35 | 0
36 | 0
37 | 0
38 | good gyro
39 | 0
40 | 0
41 | 0
42 | false
43 | false
44 | false
45 | false
46 | position
47 |
48 | 0.116
49 | -0.168
50 | -1654
51 | 22.77
52 | 22.5
53 | 27.05
54 |
55 |
56 | 0.11
57 | 0.14
58 | 0.13
59 | 0.17
60 | 0.16
61 | 0.24
62 | 0
63 | 0
64 | -4.038
65 | -0.4917
66 | 48.3
67 |
68 |
69 | 51.19
70 | 41.5
71 | 0.999
72 |
73 |
74 | 0.005236
75 | 0.005236
76 | 2.356194
77 | 0.005236
78 | 0.005236
79 | 0.785398
80 | 0
81 | 0
82 | 0
83 |
84 |
85 | ED50
86 | 59.755300
87 | 1.71347417
88 |
89 |
90 | ED50 / UTM Zone 31N
91 | 427710.69
92 | 6625015.54
93 |
94 |
95 |
96 |
--------------------------------------------------------------------------------
/src/test/resources/1411/sidewallCore.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
9 |
13 |
14 | sidewallCore
15 |
16 | 2001-10-31T08:15:00.00Z
17 | John Smith
18 |
19 |
20 |
21 | 6507/7-A-42
22 | A-42
23 | Deep Drill #5
24 | 2001-08-31T08:15:00.000Z
25 | 2001-08-01T13:20:00.000Z
26 | 5000
27 | GR
28 | 6700
29 | Schlumberger
30 | Corelab
31 | John Smith
32 | SCT
33 | 8.5
34 | 1
35 | 30
36 | 26
37 | 2
38 | 1
39 | 1
40 | 27
41 |
42 | 5001
43 |
44 | Sandstone
45 | SS
46 | 100
47 | Sandstone: vf -f, clr-frost, mod srt, gd vis por
48 | Quartz Arenite
49 | Quartz
50 | NA
51 | Lt. Pale Yel
52 | Friable
53 | Mod Soft
54 | Fine-Med
55 | Mod Rnd
56 | Fair
57 | Quartz
58 | Mod Vis Por
59 | Low
60 | 2.65
61 |
62 | Pyrite
63 | 10
64 | sparse
65 | lg crystals
66 |
67 |
68 |
69 | good
70 | brown
71 | even
72 | 50
73 | white
74 | 25
75 | faint
76 | Nat Flor Desc
77 | white
78 | fast
79 | strong
80 | streaming
81 | bright
82 | bright white
83 | instantaneous
84 | strong
85 | streaming
86 | bright
87 | brown
88 | Good show, lt-dk brown even stn, inst bright lt blue-white streaming cut fluor
89 | None
90 | Petroliferous
91 |
92 | Rotliegende
93 | Good sample, no fragments
94 |
95 |
96 | plan
97 | Good sample, no fragments
98 |
99 |
100 |
101 |
--------------------------------------------------------------------------------
/src/test/resources/1311/bhaRun.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
8 |
9 | bhaRun
10 |
11 | 2001-10-31T08:15:00.000
12 | WITSML 1.3.1.0 Server
13 | John Smith
14 |
15 |
16 |
17 | 6507/7-A-42
18 | A-42
19 | 21
20 | 6507/7-A-42
21 | 2001-05-15T13:08:00.000
22 | 2001-12-15T13:20:00.000
23 | 2001-05-20T09:20:00.000
24 | 2001-12-10T15:20:00.000
25 | 1.3
26 | 1.2
27 | 1.5
28 | final
29 | 7
30 | 5
31 | Complete BHA run.
32 | Drilling
33 |
34 | 2.25
35 | 6000.00
36 | 7000.00
37 | Tub 001
38 | 150.00
39 | 220.00
40 | 180.00
41 | 200.00
42 | 200.00
43 | 3000.00
44 | 3500.00
45 | 2800.00
46 | 2000.00
47 | 3000.00
48 | 100000.00
49 | 100000.00
50 | 0.14
51 | 400.00
52 | 500.0
53 | 15
54 | 500
55 | .30
56 | 1.50
57 | 2.25
58 | .45
59 | 2.30
60 | 1.25
61 | 300.00
62 | 200.00
63 | 50.00
64 | 100.00
65 | 200.00
66 | 100.00
67 | 110.00
68 | 80.00
69 | 80.00
70 | 80.00
71 | 90.00
72 | 70.00
73 | 12.50
74 | 12.50
75 | 12.50
76 | 12.50
77 | Drilling Params reason for trip
78 | Drilling
79 | 30.00
80 | 45.00
81 | 0.00
82 | 20.00
83 | 0.00
84 | 10.00
85 | 50.00
86 | 1000.00
87 | 60.00
88 | Drilling Params comments
89 |
90 |
91 | plan
92 | These are the comments associated with the BHA Run data object.
93 |
94 |
95 |
96 |
--------------------------------------------------------------------------------
/src/main/java/com/hashmapinc/tempus/witsml/message/_120/ObjectFactory.java:
--------------------------------------------------------------------------------
1 |
2 | package com.hashmapinc.tempus.witsml.message._120;
3 |
4 | import javax.xml.bind.annotation.XmlRegistry;
5 |
6 |
7 | /**
8 | * This object contains factory methods for each
9 | * Java content interface and Java element interface
10 | * generated in the org.witsml.message._120 package.
11 | * An ObjectFactory allows you to programatically
12 | * construct new instances of the Java representation
13 | * for XML content. The Java representation of XML
14 | * content can consist of schema derived interfaces
15 | * and classes representing the binding of schema
16 | * type definitions, element declarations and model
17 | * groups. Factory methods for each of these are
18 | * provided in this class.
19 | *
20 | */
21 | @XmlRegistry
22 | public class ObjectFactory {
23 |
24 |
25 | /**
26 | * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.witsml.message._120
27 | *
28 | */
29 | public ObjectFactory() {
30 | }
31 |
32 | /**
33 | * Create an instance of {@link WMLSGetCap }
34 | *
35 | */
36 | public WMLSGetCap createWMLSGetCap() {
37 | return new WMLSGetCap();
38 | }
39 |
40 | /**
41 | * Create an instance of {@link WMLSGetFromStore }
42 | *
43 | */
44 | public WMLSGetFromStore createWMLSGetFromStore() {
45 | return new WMLSGetFromStore();
46 | }
47 |
48 | /**
49 | * Create an instance of {@link WMLSDeleteFromStoreResponse }
50 | *
51 | */
52 | public WMLSDeleteFromStoreResponse createWMLSDeleteFromStoreResponse() {
53 | return new WMLSDeleteFromStoreResponse();
54 | }
55 |
56 | /**
57 | * Create an instance of {@link WMLSAddToStoreResponse }
58 | *
59 | */
60 | public WMLSAddToStoreResponse createWMLSAddToStoreResponse() {
61 | return new WMLSAddToStoreResponse();
62 | }
63 |
64 | /**
65 | * Create an instance of {@link WMLSGetBaseMsgResponse }
66 | *
67 | */
68 | public WMLSGetBaseMsgResponse createWMLSGetBaseMsgResponse() {
69 | return new WMLSGetBaseMsgResponse();
70 | }
71 |
72 | /**
73 | * Create an instance of {@link WMLSGetCapResponse }
74 | *
75 | */
76 | public WMLSGetCapResponse createWMLSGetCapResponse() {
77 | return new WMLSGetCapResponse();
78 | }
79 |
80 | /**
81 | * Create an instance of {@link WMLSAddToStore }
82 | *
83 | */
84 | public WMLSAddToStore createWMLSAddToStore() {
85 | return new WMLSAddToStore();
86 | }
87 |
88 | /**
89 | * Create an instance of {@link WMLSDeleteFromStore }
90 | *
91 | */
92 | public WMLSDeleteFromStore createWMLSDeleteFromStore() {
93 | return new WMLSDeleteFromStore();
94 | }
95 |
96 | /**
97 | * Create an instance of {@link WMLSGetBaseMsg }
98 | *
99 | */
100 | public WMLSGetBaseMsg createWMLSGetBaseMsg() {
101 | return new WMLSGetBaseMsg();
102 | }
103 |
104 | /**
105 | * Create an instance of {@link WMLSGetVersion }
106 | *
107 | */
108 | public WMLSGetVersion createWMLSGetVersion() {
109 | return new WMLSGetVersion();
110 | }
111 |
112 | /**
113 | * Create an instance of {@link WMLSUpdateInStoreResponse }
114 | *
115 | */
116 | public WMLSUpdateInStoreResponse createWMLSUpdateInStoreResponse() {
117 | return new WMLSUpdateInStoreResponse();
118 | }
119 |
120 | /**
121 | * Create an instance of {@link WMLSGetFromStoreResponse }
122 | *
123 | */
124 | public WMLSGetFromStoreResponse createWMLSGetFromStoreResponse() {
125 | return new WMLSGetFromStoreResponse();
126 | }
127 |
128 | /**
129 | * Create an instance of {@link WMLSGetVersionResponse }
130 | *
131 | */
132 | public WMLSGetVersionResponse createWMLSGetVersionResponse() {
133 | return new WMLSGetVersionResponse();
134 | }
135 |
136 | /**
137 | * Create an instance of {@link WMLSUpdateInStore }
138 | *
139 | */
140 | public WMLSUpdateInStore createWMLSUpdateInStore() {
141 | return new WMLSUpdateInStore();
142 | }
143 |
144 | }
145 |
--------------------------------------------------------------------------------
/src/test/resources/1311/fluidsReport.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
9 |
10 | fluidsReport
11 |
12 | 2001-10-31T08:15:00.000Z
13 | WITSML 1.3.0.0 Server
14 | John Smith
15 |
16 |
17 |
18 | 6507/7-A-42
19 | A-42
20 | Rpt A-42-R003
21 | 2001-10-31T16:30:00.000
22 | 2438
23 | 2345
24 | 1
25 |
26 | OilBased
27 | Pit
28 | 1.26
29 | 135
30 | 28
31 | 50
32 | 30
33 | 14
34 | 24
35 | 27
36 | 1
37 | 2.3
38 | 200
39 | 500
40 | 2.4
41 | 1
42 | 6.1
43 | 32
44 | 53
45 | 0.3
46 | 6.1
47 | 7.5
48 | 5.0
49 | 10
50 | 0.3
51 | 10.5
52 | 28
53 | 0.9
54 | 1.3
55 | 1.0
56 | 1.1
57 | 1.2
58 | 18750
59 | 7000
60 | 104.5
61 | 5000
62 |
63 | 25
64 | 0
65 | 10
66 | 12
67 | 40
68 | 61
69 | 80
70 | 130
71 |
72 |
73 | 26
74 | 1
75 | 11
76 | 13
77 | 42
78 | 63
79 | 83
80 | 135
81 |
82 | 20
83 | 3.2
84 | 360
85 | 5000
86 | Baker Hughes INTEQ
87 | Doug Bullivant/Andy Duncombe
88 | .0353
89 | 7.22
90 | 2.5
91 | XCD POLYMER
92 | 3.53
93 | 110.3
94 | 3200
95 | 10.5
96 | Base oil, fluid loss additive and viscosifier to active and reserve mud.
97 |
98 |
99 | plan
100 | These are the comments associated with theFluids Report data object.
101 |
102 |
103 |
104 |
--------------------------------------------------------------------------------
/src/test/resources/1411/bhaRun.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
8 |
12 |
13 | bhaRun
14 |
15 | 2001-10-31T08:15:00.000Z
16 | John Smith
17 |
18 |
19 |
20 | 6507/7-A-42
21 | A-42
22 | 21
23 | TubAssy001
24 | 2001-05-15T13:08:00.000Z
25 | 2001-12-15T13:20:00.000Z
26 | 2001-05-20T09:20:00.000Z
27 | 2001-12-10T15:20:00.000Z
28 | 1.3
29 | 1.2
30 | 1.5
31 | final
32 | 7
33 | 5
34 | Complete BHA run.
35 | Drilling
36 |
37 | 2.25
38 | 6000.00
39 | 7000.00
40 | Tub 001
41 | 150.00
42 | 220.00
43 | 180.00
44 | 200.00
45 | 200.00
46 | 3000.00
47 | 3500.00
48 | 2800.00
49 | 2000.00
50 | 3000.00
51 | 100000.00
52 | 100000.00
53 | 0.14
54 | 400.00
55 | 500.0
56 | 15
57 | 500
58 | .30
59 | 1.50
60 | 2.25
61 | .45
62 | 2.30
63 | 1.25
64 | 300.00
65 | 200.00
66 | 50.00
67 | 100.00
68 | 200.00
69 | 100.00
70 | 110.00
71 | 80.00
72 | 80.00
73 | 80.00
74 | 90.00
75 | 70.00
76 | 12.50
77 | 12.50
78 | 12.50
79 | 12.50
80 | Drilling Params reason for trip
81 | Drilling
82 | 30.00
83 | 45.00
84 | 0.00
85 | 20.00
86 | 0.00
87 | 10.00
88 | 50.00
89 | 1000.00
90 | 60.00
91 | Drilling Params comments
92 |
93 |
94 | plan
95 | These are the comments associated with the BHA Run data object.
96 |
97 |
98 |
99 |
--------------------------------------------------------------------------------
/src/main/java/com/hashmapinc/tempus/witsml/message/_120/WMLSAddToStore.java:
--------------------------------------------------------------------------------
1 |
2 | package com.hashmapinc.tempus.witsml.message._120;
3 |
4 | import javax.xml.bind.annotation.XmlAccessType;
5 | import javax.xml.bind.annotation.XmlAccessorType;
6 | import javax.xml.bind.annotation.XmlElement;
7 | import javax.xml.bind.annotation.XmlRootElement;
8 | import javax.xml.bind.annotation.XmlType;
9 |
10 |
11 | /**
12 | *
Java class for anonymous complex type.
13 | *
14 | *
The following schema fragment specifies the expected content contained within this class.
15 | *
16 | *
17 | *
18 | *
19 | *
20 | *
21 | *
22 | *
23 | *
24 | *
25 | *
26 | *
27 | *
28 | *
29 | *
30 | *
31 | *
32 | */
33 | @XmlAccessorType(XmlAccessType.FIELD)
34 | @XmlType(name = "", propOrder = {
35 | "wmLtypeIn",
36 | "xmLin",
37 | "optionsIn",
38 | "capabilitiesIn"
39 | })
40 | @XmlRootElement(name = "WMLS_AddToStore")
41 | public class WMLSAddToStore {
42 |
43 | @XmlElement(name = "WMLtypeIn", required = true, nillable = true)
44 | protected String wmLtypeIn;
45 | @XmlElement(name = "XMLin", required = true, nillable = true)
46 | protected String xmLin;
47 | @XmlElement(name = "OptionsIn", required = true, nillable = true)
48 | protected String optionsIn;
49 | @XmlElement(name = "CapabilitiesIn", required = true, nillable = true)
50 | protected String capabilitiesIn;
51 |
52 | /**
53 | * Gets the value of the wmLtypeIn property.
54 | *
55 | * @return
56 | * possible object is
57 | * {@link String }
58 | *
59 | */
60 | public String getWMLtypeIn() {
61 | return wmLtypeIn;
62 | }
63 |
64 | /**
65 | * Sets the value of the wmLtypeIn property.
66 | *
67 | * @param value
68 | * allowed object is
69 | * {@link String }
70 | *
71 | */
72 | public void setWMLtypeIn(String value) {
73 | this.wmLtypeIn = value;
74 | }
75 |
76 | /**
77 | * Gets the value of the xmLin property.
78 | *
79 | * @return
80 | * possible object is
81 | * {@link String }
82 | *
83 | */
84 | public String getXMLin() {
85 | return xmLin;
86 | }
87 |
88 | /**
89 | * Sets the value of the xmLin property.
90 | *
91 | * @param value
92 | * allowed object is
93 | * {@link String }
94 | *
95 | */
96 | public void setXMLin(String value) {
97 | this.xmLin = value;
98 | }
99 |
100 | /**
101 | * Gets the value of the optionsIn property.
102 | *
103 | * @return
104 | * possible object is
105 | * {@link String }
106 | *
107 | */
108 | public String getOptionsIn() {
109 | return optionsIn;
110 | }
111 |
112 | /**
113 | * Sets the value of the optionsIn property.
114 | *
115 | * @param value
116 | * allowed object is
117 | * {@link String }
118 | *
119 | */
120 | public void setOptionsIn(String value) {
121 | this.optionsIn = value;
122 | }
123 |
124 | /**
125 | * Gets the value of the capabilitiesIn property.
126 | *
127 | * @return
128 | * possible object is
129 | * {@link String }
130 | *
131 | */
132 | public String getCapabilitiesIn() {
133 | return capabilitiesIn;
134 | }
135 |
136 | /**
137 | * Sets the value of the capabilitiesIn property.
138 | *
139 | * @param value
140 | * allowed object is
141 | * {@link String }
142 | *
143 | */
144 | public void setCapabilitiesIn(String value) {
145 | this.capabilitiesIn = value;
146 | }
147 |
148 | }
149 |
--------------------------------------------------------------------------------
/src/test/resources/1411/fluidsReport.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
9 |
13 |
14 | fluidsReport
15 |
16 | 2001-10-31T08:15:00.000Z
17 | John Smith
18 |
19 |
20 |
21 | 6507/7-A-42
22 | A-42
23 | Rpt A-42-R003
24 | 2001-10-31T16:30:00.000Z
25 | 2438
26 | 2345
27 | 1
28 |
29 | OilBased
30 | Pit
31 | 1.26
32 | 135
33 | 28
34 | 50
35 | 30
36 | 14
37 | 24
38 | 27
39 | 1
40 | 2.3
41 | 200
42 | 500
43 | 2.4
44 | 1
45 | 6.1
46 | 32
47 | 53
48 | 0.3
49 | 6.1
50 | 7.5
51 | 5.0
52 | 10
53 | 0.3
54 | 10.5
55 | 28
56 | 0.9
57 | 1.3
58 | 1.0
59 | 1.1
60 | 1.2
61 | 18750
62 | 7000
63 | 104.5
64 | 5000
65 |
66 | 25
67 | 0
68 | 10
69 | 12
70 | 40
71 | 61
72 | 80
73 | 130
74 |
75 |
76 | 26
77 | 1
78 | 11
79 | 13
80 | 42
81 | 63
82 | 83
83 | 135
84 |
85 | 20
86 | 3.2
87 | 360
88 | 5000
89 | Baker Hughes INTEQ
90 | Doug Bullivant/Andy Duncombe
91 | .0353
92 | 7.22
93 | 2.5
94 | XCD POLYMER
95 | 3.53
96 | 110.3
97 | 3200
98 | 10.5
99 | Base oil, fluid loss additive and viscosifier to active and reserve mud.
100 |
101 |
102 | plan
103 | These are the comments associated with theFluids Report data object.
104 |
105 |
106 |
107 |
--------------------------------------------------------------------------------
/src/test/resources/1311/surveyProgram.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
9 |
10 | surveyProgram
11 |
12 | 2001-10-31T08:15:00.000Z
13 | WITSML 1.3.0.0 Server
14 | John Smith
15 |
16 |
17 |
18 | 6507/7-A-42
19 | A-42
20 | final
21 | 1
22 | 2001-10-31T08:15:00.000
23 | J. Belaskie
24 | no
25 |
26 | 1
27 | NS Gyro single shots
28 | 567.8
29 | 2132.5
30 | ABC Company
31 | Survey tool name
32 | NS-GYRO-SS
33 | good gyro
34 | true
35 | 100
36 | actual
37 | These are the comments associated with the survey section 1.
38 |
39 |
40 | 2
41 | MWD - Standard
42 | 2132.5
43 | 7657.5
44 | ABC Company
45 | Survey tool name
46 | MWD
47 | good mag
48 | true
49 | 30
50 | actual
51 | These are the comments associated with the survey section 2.
52 |
53 |
54 | 3
55 | EMS - Standard
56 | 2624.7
57 | 7657.5
58 | ABC Company
59 | Survey tool name
60 | EMS
61 | good gyro
62 | true
63 | 50
64 | actual
65 | These are the comments associated with the survey section 3.
66 |
67 |
68 | 4
69 | MWD + SAG correction
70 | 7657.5
71 | 13123.4
72 | ABC Company
73 | Survey tool name
74 | MWD + SAG
75 | good mag
76 | true
77 | 30
78 | actual
79 | These are the comments associated with the survey section 4.
80 |
81 |
82 | 5
83 | Continuous Casing M/S
84 | 567.8
85 | 13123.4
86 | gyrodata
87 | Survey tool name
88 | MS
89 | good gyro
90 | true
91 | 50
92 | actual
93 | These are the comments associated with the survey section 5.
94 |
95 |
96 | actual
97 | These are the comments associated with the Survey Program data object.
98 |
99 |
100 |
101 |
--------------------------------------------------------------------------------
/src/main/java/com/hashmapinc/tempus/witsml/message/_120/WMLSUpdateInStore.java:
--------------------------------------------------------------------------------
1 |
2 | package com.hashmapinc.tempus.witsml.message._120;
3 |
4 | import javax.xml.bind.annotation.XmlAccessType;
5 | import javax.xml.bind.annotation.XmlAccessorType;
6 | import javax.xml.bind.annotation.XmlElement;
7 | import javax.xml.bind.annotation.XmlRootElement;
8 | import javax.xml.bind.annotation.XmlType;
9 |
10 |
11 | /**
12 | * Java class for anonymous complex type.
13 | *
14 | *
The following schema fragment specifies the expected content contained within this class.
15 | *
16 | *
17 | *
18 | *
19 | *
20 | *
21 | *
22 | *
23 | *
24 | *
25 | *
26 | *
27 | *
28 | *
29 | *
30 | *
31 | *
32 | */
33 | @XmlAccessorType(XmlAccessType.FIELD)
34 | @XmlType(name = "", propOrder = {
35 | "wmLtypeIn",
36 | "xmLin",
37 | "optionsIn",
38 | "capabilitiesIn"
39 | })
40 | @XmlRootElement(name = "WMLS_UpdateInStore")
41 | public class WMLSUpdateInStore {
42 |
43 | @XmlElement(name = "WMLtypeIn", required = true, nillable = true)
44 | protected String wmLtypeIn;
45 | @XmlElement(name = "XMLin", required = true, nillable = true)
46 | protected String xmLin;
47 | @XmlElement(name = "OptionsIn", required = true, nillable = true)
48 | protected String optionsIn;
49 | @XmlElement(name = "CapabilitiesIn", required = true, nillable = true)
50 | protected String capabilitiesIn;
51 |
52 | /**
53 | * Gets the value of the wmLtypeIn property.
54 | *
55 | * @return
56 | * possible object is
57 | * {@link String }
58 | *
59 | */
60 | public String getWMLtypeIn() {
61 | return wmLtypeIn;
62 | }
63 |
64 | /**
65 | * Sets the value of the wmLtypeIn property.
66 | *
67 | * @param value
68 | * allowed object is
69 | * {@link String }
70 | *
71 | */
72 | public void setWMLtypeIn(String value) {
73 | this.wmLtypeIn = value;
74 | }
75 |
76 | /**
77 | * Gets the value of the xmLin property.
78 | *
79 | * @return
80 | * possible object is
81 | * {@link String }
82 | *
83 | */
84 | public String getXMLin() {
85 | return xmLin;
86 | }
87 |
88 | /**
89 | * Sets the value of the xmLin property.
90 | *
91 | * @param value
92 | * allowed object is
93 | * {@link String }
94 | *
95 | */
96 | public void setXMLin(String value) {
97 | this.xmLin = value;
98 | }
99 |
100 | /**
101 | * Gets the value of the optionsIn property.
102 | *
103 | * @return
104 | * possible object is
105 | * {@link String }
106 | *
107 | */
108 | public String getOptionsIn() {
109 | return optionsIn;
110 | }
111 |
112 | /**
113 | * Sets the value of the optionsIn property.
114 | *
115 | * @param value
116 | * allowed object is
117 | * {@link String }
118 | *
119 | */
120 | public void setOptionsIn(String value) {
121 | this.optionsIn = value;
122 | }
123 |
124 | /**
125 | * Gets the value of the capabilitiesIn property.
126 | *
127 | * @return
128 | * possible object is
129 | * {@link String }
130 | *
131 | */
132 | public String getCapabilitiesIn() {
133 | return capabilitiesIn;
134 | }
135 |
136 | /**
137 | * Sets the value of the capabilitiesIn property.
138 | *
139 | * @param value
140 | * allowed object is
141 | * {@link String }
142 | *
143 | */
144 | public void setCapabilitiesIn(String value) {
145 | this.capabilitiesIn = value;
146 | }
147 |
148 | }
149 |
--------------------------------------------------------------------------------
/src/main/java/com/hashmapinc/tempus/witsml/message/_120/WMLSGetFromStore.java:
--------------------------------------------------------------------------------
1 |
2 | package com.hashmapinc.tempus.witsml.message._120;
3 |
4 | import javax.xml.bind.annotation.XmlAccessType;
5 | import javax.xml.bind.annotation.XmlAccessorType;
6 | import javax.xml.bind.annotation.XmlElement;
7 | import javax.xml.bind.annotation.XmlRootElement;
8 | import javax.xml.bind.annotation.XmlType;
9 |
10 |
11 | /**
12 | * Java class for anonymous complex type.
13 | *
14 | *
The following schema fragment specifies the expected content contained within this class.
15 | *
16 | *
17 | *
18 | *
19 | *
20 | *
21 | *
22 | *
23 | *
24 | *
25 | *
26 | *
27 | *
28 | *
29 | *
30 | *
31 | *
32 | */
33 | @XmlAccessorType(XmlAccessType.FIELD)
34 | @XmlType(name = "", propOrder = {
35 | "wmLtypeIn",
36 | "queryIn",
37 | "optionsIn",
38 | "capabilitiesIn"
39 | })
40 | @XmlRootElement(name = "WMLS_GetFromStore")
41 | public class WMLSGetFromStore {
42 |
43 | @XmlElement(name = "WMLtypeIn", required = true, nillable = true)
44 | protected String wmLtypeIn;
45 | @XmlElement(name = "QueryIn", required = true, nillable = true)
46 | protected String queryIn;
47 | @XmlElement(name = "OptionsIn", required = true, nillable = true)
48 | protected String optionsIn;
49 | @XmlElement(name = "CapabilitiesIn", required = true, nillable = true)
50 | protected String capabilitiesIn;
51 |
52 | /**
53 | * Gets the value of the wmLtypeIn property.
54 | *
55 | * @return
56 | * possible object is
57 | * {@link String }
58 | *
59 | */
60 | public String getWMLtypeIn() {
61 | return wmLtypeIn;
62 | }
63 |
64 | /**
65 | * Sets the value of the wmLtypeIn property.
66 | *
67 | * @param value
68 | * allowed object is
69 | * {@link String }
70 | *
71 | */
72 | public void setWMLtypeIn(String value) {
73 | this.wmLtypeIn = value;
74 | }
75 |
76 | /**
77 | * Gets the value of the queryIn property.
78 | *
79 | * @return
80 | * possible object is
81 | * {@link String }
82 | *
83 | */
84 | public String getQueryIn() {
85 | return queryIn;
86 | }
87 |
88 | /**
89 | * Sets the value of the queryIn property.
90 | *
91 | * @param value
92 | * allowed object is
93 | * {@link String }
94 | *
95 | */
96 | public void setQueryIn(String value) {
97 | this.queryIn = value;
98 | }
99 |
100 | /**
101 | * Gets the value of the optionsIn property.
102 | *
103 | * @return
104 | * possible object is
105 | * {@link String }
106 | *
107 | */
108 | public String getOptionsIn() {
109 | return optionsIn;
110 | }
111 |
112 | /**
113 | * Sets the value of the optionsIn property.
114 | *
115 | * @param value
116 | * allowed object is
117 | * {@link String }
118 | *
119 | */
120 | public void setOptionsIn(String value) {
121 | this.optionsIn = value;
122 | }
123 |
124 | /**
125 | * Gets the value of the capabilitiesIn property.
126 | *
127 | * @return
128 | * possible object is
129 | * {@link String }
130 | *
131 | */
132 | public String getCapabilitiesIn() {
133 | return capabilitiesIn;
134 | }
135 |
136 | /**
137 | * Sets the value of the capabilitiesIn property.
138 | *
139 | * @param value
140 | * allowed object is
141 | * {@link String }
142 | *
143 | */
144 | public void setCapabilitiesIn(String value) {
145 | this.capabilitiesIn = value;
146 | }
147 |
148 | }
149 |
--------------------------------------------------------------------------------
/src/main/java/com/hashmapinc/tempus/witsml/message/_120/WMLSDeleteFromStore.java:
--------------------------------------------------------------------------------
1 |
2 | package com.hashmapinc.tempus.witsml.message._120;
3 |
4 | import javax.xml.bind.annotation.XmlAccessType;
5 | import javax.xml.bind.annotation.XmlAccessorType;
6 | import javax.xml.bind.annotation.XmlElement;
7 | import javax.xml.bind.annotation.XmlRootElement;
8 | import javax.xml.bind.annotation.XmlType;
9 |
10 |
11 | /**
12 | * Java class for anonymous complex type.
13 | *
14 | *
The following schema fragment specifies the expected content contained within this class.
15 | *
16 | *
17 | *
18 | *
19 | *
20 | *
21 | *
22 | *
23 | *
24 | *
25 | *
26 | *
27 | *
28 | *
29 | *
30 | *
31 | *
32 | */
33 | @XmlAccessorType(XmlAccessType.FIELD)
34 | @XmlType(name = "", propOrder = {
35 | "wmLtypeIn",
36 | "queryIn",
37 | "optionsIn",
38 | "capabilitiesIn"
39 | })
40 | @XmlRootElement(name = "WMLS_DeleteFromStore")
41 | public class WMLSDeleteFromStore {
42 |
43 | @XmlElement(name = "WMLtypeIn", required = true, nillable = true)
44 | protected String wmLtypeIn;
45 | @XmlElement(name = "QueryIn", required = true, nillable = true)
46 | protected String queryIn;
47 | @XmlElement(name = "OptionsIn", required = true, nillable = true)
48 | protected String optionsIn;
49 | @XmlElement(name = "CapabilitiesIn", required = true, nillable = true)
50 | protected String capabilitiesIn;
51 |
52 | /**
53 | * Gets the value of the wmLtypeIn property.
54 | *
55 | * @return
56 | * possible object is
57 | * {@link String }
58 | *
59 | */
60 | public String getWMLtypeIn() {
61 | return wmLtypeIn;
62 | }
63 |
64 | /**
65 | * Sets the value of the wmLtypeIn property.
66 | *
67 | * @param value
68 | * allowed object is
69 | * {@link String }
70 | *
71 | */
72 | public void setWMLtypeIn(String value) {
73 | this.wmLtypeIn = value;
74 | }
75 |
76 | /**
77 | * Gets the value of the queryIn property.
78 | *
79 | * @return
80 | * possible object is
81 | * {@link String }
82 | *
83 | */
84 | public String getQueryIn() {
85 | return queryIn;
86 | }
87 |
88 | /**
89 | * Sets the value of the queryIn property.
90 | *
91 | * @param value
92 | * allowed object is
93 | * {@link String }
94 | *
95 | */
96 | public void setQueryIn(String value) {
97 | this.queryIn = value;
98 | }
99 |
100 | /**
101 | * Gets the value of the optionsIn property.
102 | *
103 | * @return
104 | * possible object is
105 | * {@link String }
106 | *
107 | */
108 | public String getOptionsIn() {
109 | return optionsIn;
110 | }
111 |
112 | /**
113 | * Sets the value of the optionsIn property.
114 | *
115 | * @param value
116 | * allowed object is
117 | * {@link String }
118 | *
119 | */
120 | public void setOptionsIn(String value) {
121 | this.optionsIn = value;
122 | }
123 |
124 | /**
125 | * Gets the value of the capabilitiesIn property.
126 | *
127 | * @return
128 | * possible object is
129 | * {@link String }
130 | *
131 | */
132 | public String getCapabilitiesIn() {
133 | return capabilitiesIn;
134 | }
135 |
136 | /**
137 | * Sets the value of the capabilitiesIn property.
138 | *
139 | * @param value
140 | * allowed object is
141 | * {@link String }
142 | *
143 | */
144 | public void setCapabilitiesIn(String value) {
145 | this.capabilitiesIn = value;
146 | }
147 |
148 | }
149 |
--------------------------------------------------------------------------------
/src/test/resources/1411/surveyProgram.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
9 |
13 |
14 | surveyProgram
15 |
16 | 2001-10-31T08:15:00.000Z
17 | John Smith
18 |
19 |
20 |
21 | 6507/7-A-42
22 | A-42
23 | final
24 | 1
25 | 2001-10-31T08:15:00.000Z
26 | J. Belaskie
27 | no
28 |
29 | 1
30 | NS Gyro single shots
31 | 567.8
32 | 2132.5
33 | ABC Company
34 | Survey tool name
35 | NS-GYRO-SS
36 | good gyro
37 | true
38 | 100
39 | actual
40 | These are the comments associated with the survey section 1.
41 |
42 |
43 | 2
44 | MWD - Standard
45 | 2132.5
46 | 7657.5
47 | ABC Company
48 | Survey tool name
49 | MWD
50 | good mag
51 | true
52 | 30
53 | actual
54 | These are the comments associated with the survey section 2.
55 |
56 |
57 | 3
58 | EMS - Standard
59 | 2624.7
60 | 7657.5
61 | ABC Company
62 | Survey tool name
63 | EMS
64 | good gyro
65 | true
66 | 50
67 | actual
68 | These are the comments associated with the survey section 3.
69 |
70 |
71 | 4
72 | MWD + SAG correction
73 | 7657.5
74 | 13123.4
75 | ABC Company
76 | Survey tool name
77 | MWD + SAG
78 | good mag
79 | true
80 | 30
81 | actual
82 | These are the comments associated with the survey section 4.
83 |
84 |
85 | 5
86 | Continuous Casing M/S
87 | 567.8
88 | 13123.4
89 | gyrodata
90 | Survey tool name
91 | MS
92 | good gyro
93 | true
94 | 50
95 | actual
96 | These are the comments associated with the survey section 5.
97 |
98 |
99 | actual
100 | These are the comments associated with the Survey Program data object.
101 |
102 |
103 |
104 |
--------------------------------------------------------------------------------
/src/main/resources/1311/GetTrajectorys.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 |
110 |
111 |
112 |
113 |
114 |
115 |
116 |
117 |
118 |
119 |
120 |
121 |
122 |
123 |
124 |
--------------------------------------------------------------------------------
/src/test/java/com/hashmapinc/tempus/witsml/api/MockStoreSoapBindingStub.java:
--------------------------------------------------------------------------------
1 | package com.hashmapinc.tempus.witsml.api;
2 |
3 | import com.hashmapinc.tempus.witsml.client.AbstractStoreSoapBindingStub;
4 | import com.hashmapinc.tempus.witsml.message._120.*;
5 |
6 | import java.io.BufferedReader;
7 | import java.io.IOException;
8 | import java.io.InputStream;
9 | import java.io.InputStreamReader;
10 | import java.rmi.RemoteException;
11 | import java.util.stream.Collectors;
12 |
13 | public class MockStoreSoapBindingStub extends AbstractStoreSoapBindingStub {
14 |
15 | public WMLSAddToStoreResponse wMLS_AddToStore(WMLSAddToStore wMLS_AddToStore) throws RemoteException {
16 | WMLSAddToStoreResponse wmlsAddToStoreResponse = new WMLSAddToStoreResponse();
17 | wmlsAddToStoreResponse.setResult((short)0);
18 | return wmlsAddToStoreResponse;
19 | }
20 |
21 | public WMLSDeleteFromStoreResponse wMLS_DeleteFromStore(WMLSDeleteFromStore wMLS_DeleteFromStore) throws RemoteException {
22 | WMLSDeleteFromStoreResponse wmlsDeleteFromStoreResponse = new WMLSDeleteFromStoreResponse();
23 | wmlsDeleteFromStoreResponse.setResult((short)0);
24 | return wmlsDeleteFromStoreResponse;
25 | }
26 |
27 | public WMLSGetBaseMsgResponse wMLS_GetBaseMsg(WMLSGetBaseMsg wMLS_GetBaseMsg) throws RemoteException {
28 | return new WMLSGetBaseMsgResponse();
29 | }
30 |
31 | public WMLSGetCapResponse wMLS_GetCap(WMLSGetCap wMLS_GetCap) throws RemoteException {
32 | WMLSGetCapResponse wmlsGetCapResponse = new WMLSGetCapResponse();
33 | try {
34 | if (wMLS_GetCap.getOptionsIn().equals("dataVersion=1.4.1.1")) {
35 | wmlsGetCapResponse.setCapabilitiesOut(getReturnData("caps1411.xml", "1.4.1.1"));
36 | wmlsGetCapResponse.setResult((short) 1);
37 | } else {
38 | wmlsGetCapResponse.setCapabilitiesOut(getReturnData("caps1311.xml", "1.3.1.1"));
39 | wmlsGetCapResponse.setResult((short) 1);
40 | }
41 | } catch (IOException ex) {
42 | wmlsGetCapResponse.setResult((short) -1);
43 | }
44 | return wmlsGetCapResponse;
45 | }
46 |
47 | public WMLSGetFromStoreResponse wMLS_GetFromStore(WMLSGetFromStore wMLS_GetFromStore) throws RemoteException {
48 | WMLSGetFromStoreResponse wmlsGetFromStoreResponse = new WMLSGetFromStoreResponse();
49 | try{
50 | if(wMLS_GetFromStore.getOptionsIn().equals("dataVersion=1.4.1.1")) {
51 | wmlsGetFromStoreResponse.setXMLout(getReturnData(MockObjectType.valueOf(wMLS_GetFromStore.getWMLtypeIn().toUpperCase()).toString(), "1.4.1.1"));
52 | wmlsGetFromStoreResponse.setResult((short) 1);
53 | } else {
54 | wmlsGetFromStoreResponse.setXMLout(getReturnData(MockObjectType.valueOf(wMLS_GetFromStore.getWMLtypeIn().toUpperCase()).toString(), "1.3.1.1"));
55 | wmlsGetFromStoreResponse.setResult((short) 1);
56 | }
57 | } catch (IOException ex) {
58 | wmlsGetFromStoreResponse.setResult((short) -1);
59 | }
60 | return wmlsGetFromStoreResponse;
61 | }
62 |
63 | public WMLSGetVersionResponse wMLS_GetVersion(WMLSGetVersion wMLS_GetVersion) throws RemoteException {
64 | WMLSGetVersionResponse wmlsGetVersionResponse = new WMLSGetVersionResponse();
65 | wmlsGetVersionResponse.setResult("1.3.1.1,1.4.1.1");
66 | return wmlsGetVersionResponse;
67 | }
68 |
69 | public WMLSUpdateInStoreResponse wMLS_UpdateInStore(WMLSUpdateInStore wMLS_UpdateInStore) throws RemoteException {
70 | WMLSUpdateInStoreResponse wmlsUpdateInStoreResponse = new WMLSUpdateInStoreResponse();
71 | wmlsUpdateInStoreResponse.setResult((short) 0);
72 | return wmlsUpdateInStoreResponse;
73 | }
74 |
75 | private String getReturnData(String resourcePath, String version) throws IOException {
76 | StringBuilder resourceStr = new StringBuilder();
77 | if (version.toString().equals("1.3.1.1")) {
78 | resourceStr.append("1311/");
79 | } else {
80 | resourceStr.append("1411/");
81 | }
82 | String path = resourceStr.append(resourcePath).toString();
83 | InputStream stream = Thread.currentThread().getContextClassLoader().getResourceAsStream(path);
84 | BufferedReader reader = new BufferedReader(
85 | new InputStreamReader(stream));
86 | return reader.lines().collect(Collectors.joining(
87 | System.getProperty("line.separator")));
88 | }
89 | }
90 |
--------------------------------------------------------------------------------
/src/test/resources/1411/target.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
9 |
13 |
14 | target
15 |
16 | 2001-10-31T08:15:00.000Z
17 | John Smith
18 |
19 |
20 |
21 | 6507/7-A-42
22 | A-42
23 | Target #2
24 | 1935.15
25 | 3731.05
26 | 3731.05
27 | 1935.15
28 | 3731.05
29 | 5
30 | 5
31 | 0
32 | 0
33 | 0
34 | 50
35 | 50
36 | irregular
37 | 4
38 | 5
39 | grid north
40 | geological
41 |
42 | Adindian
43 | 93
44 | 42
45 |
46 |
47 | AlbersEqualArea
48 | 500
49 | 300
50 |
51 |
52 | 1
53 | line
54 | 100
55 | 90
56 | 0
57 | 0
58 |
59 | Adindian
60 | 93
61 | 42
62 |
63 |
64 | AlbersEqualArea
65 | 500
66 | 300
67 |
68 |
69 |
70 | 2
71 | arc
72 | 100
73 | 90
74 | 0
75 | 0
76 |
77 | Adindian
78 | 93
79 | 42
80 |
81 |
82 | AlbersEqualArea
83 | 500
84 | 300
85 |
86 |
87 |
88 | 3
89 | line
90 | 100
91 | 0
92 | 0
93 | 0
94 |
95 | Adindian
96 | 93
97 | 42
98 |
99 |
100 | AlbersEqualArea
101 | 500
102 | 300
103 |
104 |
105 |
106 | plan
107 | These are the comments associated with the Target data object.
108 |
109 |
110 |
111 |
112 |
--------------------------------------------------------------------------------
/src/test/resources/1311/target.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
9 |
10 | target
11 |
12 | 2001-10-31T08:15:00.000Z
13 | WITSML 1.3.0.0 Server
14 | John Smith
15 |
16 |
17 |
18 | 6507/7-A-42
19 | A-42
20 | Target #2
21 | Target #1
22 | 1935.15
23 | 3731.05
24 | 3731.05
25 | 1935.15
26 | 3731.05
27 | 5
28 | 5
29 | 0
30 | 0
31 | 0
32 | 50
33 | 50
34 | irregular
35 | 4
36 | 5
37 | grid north
38 | geological
39 |
40 | Adindian
41 | 93
42 | 42
43 |
44 |
45 | AlbersEqualArea
46 | 500
47 | 300
48 |
49 |
50 | 1
51 | line
52 | 100
53 | 90
54 | 0
55 | 0
56 |
57 | Adindian
58 | 93
59 | 42
60 |
61 |
62 | AlbersEqualArea
63 | 500
64 | 300
65 |
66 |
67 |
68 | 2
69 | arc
70 | 100
71 | 90
72 | 0
73 | 0
74 |
75 | Adindian
76 | 93
77 | 42
78 |
79 |
80 | AlbersEqualArea
81 | 500
82 | 300
83 |
84 |
85 |
86 | 3
87 | line
88 | 100
89 | 0
90 | 0
91 | 0
92 |
93 | Adindian
94 | 93
95 | 42
96 |
97 |
98 | AlbersEqualArea
99 | 500
100 | 300
101 |
102 |
103 |
104 | plan
105 | These are the comments associated with the Target data object.
106 |
107 |
108 |
109 |
110 |
--------------------------------------------------------------------------------
/src/main/resources/1411/GetWells.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 |
110 |
111 |
112 |
113 |
114 |
115 |
116 |
117 |
118 |
119 |
120 |
121 |
122 |
123 |
124 |
125 |
126 |
127 |
128 |
129 |
130 |
131 |
132 |
133 |
134 |
135 |
136 |
137 |
138 |
139 |
140 |
141 |
142 |
143 |
144 |
145 |
146 |
147 |
148 |
149 |
150 |
151 |
152 |
153 |
154 |
155 |
156 |
157 |
158 |
159 |
160 |
161 |
162 |
--------------------------------------------------------------------------------