Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gs1-office-web-sit
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
吴迪
gs1-office-web-sit
Commits
fd4aa0e1
Commit
fd4aa0e1
authored
Nov 21, 2021
by
rongkailun
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
807f2032
5aea37e4
Show whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
522 additions
and
1 deletions
+522
-1
pom.xml
pom.xml
+19
-0
WebServiceConstant.java
...in/java/io/office/common/constant/WebServiceConstant.java
+35
-0
GLNController.java
...va/io/office/modules/manage/controller/GLNController.java
+59
-0
SearchgtinlogController.java
...ce/modules/manage/controller/SearchgtinlogController.java
+1
-0
SearchgtinlogEntity.java
.../io/office/modules/manage/entity/SearchgtinlogEntity.java
+1
-1
GLNSearchUtils.java
...n/java/io/office/modules/manage/utils/GLNSearchUtils.java
+67
-0
GLNRequestBo.java
...ava/io/office/modules/manage/vo/request/GLNRequestBo.java
+22
-0
Address.java
...ain/java/io/office/modules/manage/webservice/Address.java
+26
-0
GS1CompanyPrefixLicensee.java
...e/modules/manage/webservice/GS1CompanyPrefixLicensee.java
+23
-0
GS1KeyLicensee.java
...a/io/office/modules/manage/webservice/GS1KeyLicensee.java
+23
-0
GepirRequestedKey.java
...o/office/modules/manage/webservice/GepirRequestedKey.java
+26
-0
InformationProvider.java
...office/modules/manage/webservice/InformationProvider.java
+26
-0
PartyDataLine.java
...va/io/office/modules/manage/webservice/PartyDataLine.java
+32
-0
PrefixLicenseeResponse.java
...ice/modules/manage/webservice/PrefixLicenseeResponse.java
+24
-0
Test.java
src/main/java/io/office/modules/manage/webservice/Test.java
+104
-0
WebServiceXmlTemplate.java
...fice/modules/manage/webservice/WebServiceXmlTemplate.java
+34
-0
No files found.
pom.xml
View file @
fd4aa0e1
...
...
@@ -233,6 +233,25 @@
<version>
${lombok.version}
</version>
</dependency>
<dependency>
<groupId>
commons-discovery
</groupId>
<artifactId>
commons-discovery
</artifactId>
<version>
0.5
</version>
</dependency>
<dependency>
<groupId>
org.apache.axis
</groupId>
<artifactId>
axis
</artifactId>
<version>
1.4
</version>
</dependency>
<dependency>
<groupId>
javax.xml.rpc
</groupId>
<artifactId>
javax.xml.rpc-api
</artifactId>
<version>
1.1.2
</version>
</dependency>
</dependencies>
<build>
...
...
src/main/java/io/office/common/constant/WebServiceConstant.java
0 → 100644
View file @
fd4aa0e1
package
io
.
office
.
common
.
constant
;
/**
*
* @description:
*
* @author wudi
* @date 18:25 2021/11/14
*/
public
class
WebServiceConstant
{
private
static
String
PrefixLicensee
=
"<?xml version=\"1.0\" encoding=\"utf-8\"?>\n"
+
"<soap12:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soap12=\"http://www.w3.org/2003/05/soap-envelope\">\n"
+
" <soap12:Header>\n"
+
" <requestHeader xmlns=\"http://gepir4.ws.gs1.org/\">\n"
+
" <requesterGLN xmlns=\"\">@{requesterGLN}</requesterGLN>\n"
+
" <onBehalfOfGLN xmlns=\"\">@{onBehalfOfGLN}</onBehalfOfGLN>\n"
+
" <isAuthenticated xmlns=\"\">@{Authenticated}</isAuthenticated>\n"
+
" <cascade xmlns=\"\">@{cascade}</cascade>\n"
+
" </requestHeader>\n"
+
" </soap12:Header>\n"
+
" <soap12:Body>\n"
+
" <getPrefixLicensee xmlns=\"http://gepir4.ws.gs1.org/\">\n"
+
" <getPrefixLicensee xmlns=\"\">\n"
+
" <getPrefixLicensee>\n"
+
" <requestedKeyCode>@{requestedKeyCode}<requestedKeyCode/>\n"
+
" <requestedKeyValue>@{requestedKeyValue}</requestedKeyValue>\n"
+
" <requestedLanguage>en</requestedLanguage>"
+
" </getPrefixLicensee>\n"
+
" </getPrefixLicensee>\n"
+
" </getPrefixLicensee>\n"
+
" </soap12:Body>\n"
+
"</soap12:Envelope>"
;
}
src/main/java/io/office/modules/manage/controller/GLNController.java
0 → 100644
View file @
fd4aa0e1
package
io
.
office
.
modules
.
manage
.
controller
;
import
io.office.common.utils.IPUtils
;
import
io.office.common.utils.R
;
import
io.office.modules.app.annotation.Login
;
import
io.office.modules.manage.entity.SearchgtinlogEntity
;
import
io.office.modules.manage.service.SearchgtinlogService
;
import
io.office.modules.manage.utils.GLNSearchUtils
;
import
io.office.modules.manage.utils.UploadUtils
;
import
io.office.modules.manage.vo.request.GLNRequestBo
;
import
io.office.modules.sys.service.SysCaptchaService
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.*
;
import
org.springframework.web.multipart.MultipartFile
;
import
javax.servlet.http.HttpServletRequest
;
import
java.util.Date
;
/**
*
* @description:
*
* @author wudi
* @date 10:36 2021/11/21
*/
@RestController
@RequestMapping
(
value
=
"/codeSearch"
)
@Slf4j
public
class
GLNController
{
@Autowired
private
SysCaptchaService
sysCaptchaService
;
@Autowired
private
SearchgtinlogService
searchgtinlogService
;
@Login
@PostMapping
(
"/api/gln"
)
public
R
uploadFile
(
@RequestBody
GLNRequestBo
glnRequestBo
,
HttpServletRequest
request
)
{
/* boolean captcha = sysCaptchaService.validate(glnRequestBo.getUuid(), glnRequestBo.getCaptcha());
if(!captcha){
return R.error("验证码不正确");
}*/
SearchgtinlogEntity
searchgtinlogEntity
=
new
SearchgtinlogEntity
();
searchgtinlogEntity
.
setCreatedate
(
new
Date
());
searchgtinlogEntity
.
setIp
(
IPUtils
.
getIpAddr
(
request
));
if
(
glnRequestBo
.
getType
().
equals
(
"GLN"
))
{
searchgtinlogEntity
.
setClassStr
(
"GLN查询"
);
}
else
if
(
glnRequestBo
.
getType
().
equals
(
"GTIN"
)){
searchgtinlogEntity
.
setClassStr
(
"境外条码查询:厂商信息查询"
);
}
searchgtinlogEntity
.
setKeyword
(
glnRequestBo
.
getCode
());
searchgtinlogEntity
.
setSearchsource
(
0
);
//新增查询日志
searchgtinlogService
.
save
(
searchgtinlogEntity
);
return
R
.
ok
().
put
(
"data"
,
GLNSearchUtils
.
getGLNResult
(
"9"
,
"GLN"
,
glnRequestBo
.
getCode
(),
glnRequestBo
.
getRequestedLanguage
()));
}
}
src/main/java/io/office/modules/manage/controller/SearchgtinlogController.java
View file @
fd4aa0e1
...
...
@@ -91,6 +91,7 @@ public class SearchgtinlogController {
public
R
delete
(
@RequestBody
Integer
[]
ids
){
searchgtinlogService
.
removeByIds
(
Arrays
.
asList
(
ids
));
return
R
.
ok
();
}
...
...
src/main/java/io/office/modules/manage/entity/SearchgtinlogEntity.java
View file @
fd4aa0e1
...
...
@@ -24,7 +24,7 @@ public class SearchgtinlogEntity implements Serializable {
* $column.comments
*/
@TableId
private
Integer
id
;
private
Long
id
;
/**
* $column.comments
*/
...
...
src/main/java/io/office/modules/manage/utils/GLNSearchUtils.java
0 → 100644
View file @
fd4aa0e1
package
io
.
office
.
modules
.
manage
.
utils
;
import
io.office.modules.manage.webservice.PartyDataLine
;
import
io.office.modules.manage.webservice.WebServiceXmlTemplate
;
import
org.jdom.Document
;
import
org.springframework.http.HttpEntity
;
import
org.springframework.http.HttpHeaders
;
import
org.springframework.http.ResponseEntity
;
import
org.springframework.web.client.RestTemplate
;
import
javax.xml.bind.JAXBContext
;
import
javax.xml.bind.JAXBException
;
import
javax.xml.bind.Unmarshaller
;
import
java.io.IOException
;
import
java.io.Reader
;
import
java.io.StringReader
;
/**
*
* @description:
*
* @author wudi
* @date 10:37 2021/11/21
*/
public
class
GLNSearchUtils
{
public
static
PartyDataLine
getGLNResult
(
String
cascade
,
String
requestedKeyCode
,
String
requestedKeyValue
,
String
requestedLanguage
)
{
String
smsTemplateXml
=
WebServiceXmlTemplate
.
SEND_MESSAGE_TEMPLATE
.
replaceAll
(
"\\$\\{cascade\\}"
,
cascade
).
replaceAll
(
"\\$\\{requestedKeyCode\\}"
,
requestedKeyCode
)
.
replaceAll
(
"\\$\\{requestedKeyValue\\}"
,
requestedKeyValue
).
replaceAll
(
"\\$\\{requestedLanguage\\}"
,
requestedLanguage
);
String
url
=
"http://webservice.anccnet.com:8080/gepir4/gepirv4.asmx"
;
RestTemplate
restTemplate
=
new
RestTemplate
();
//创建请求头
//创建请求头
HttpHeaders
headers
=
new
HttpHeaders
();
headers
.
set
(
"Content-Type"
,
"text/xml; charset=utf-8"
);
HttpEntity
<
String
>
entity
=
new
HttpEntity
<>(
smsTemplateXml
,
headers
);
System
.
out
.
println
(
smsTemplateXml
);
ResponseEntity
<
String
>
responseEntity
=
restTemplate
.
postForEntity
(
url
,
entity
,
String
.
class
);
if
(
responseEntity
.
getStatusCode
().
value
()
==
200
)
{
// 下面的是通过解析xml字符串的
String
returnObjs
=
responseEntity
.
getBody
().
substring
(
responseEntity
.
getBody
().
indexOf
(
"<partyDataLine>"
),
responseEntity
.
getBody
().
indexOf
(
"</gepirParty>"
)).
replaceAll
(
"<partyName />"
,
""
);
//注意 获取根节点的时候要查看返回的xml参数的形式是否为一个根节点
System
.
out
.
println
(
returnObjs
);
PartyDataLine
xmlObject
=
null
;
Reader
reader
=
null
;
//利用JAXBContext将类转为一个实例
try
{
JAXBContext
context
=
JAXBContext
.
newInstance
(
PartyDataLine
.
class
);
//XMl 转为对象的接口
Unmarshaller
unmarshaller
=
context
.
createUnmarshaller
();
reader
=
new
StringReader
(
returnObjs
);
xmlObject
=
(
PartyDataLine
)
unmarshaller
.
unmarshal
(
reader
);
if
(
reader
!=
null
)
{
reader
.
close
();
}
}
catch
(
JAXBException
e
)
{
e
.
printStackTrace
();
}
catch
(
IOException
e
)
{
e
.
printStackTrace
();
}
return
xmlObject
;
}
return
null
;
}
}
src/main/java/io/office/modules/manage/vo/request/GLNRequestBo.java
0 → 100644
View file @
fd4aa0e1
package
io
.
office
.
modules
.
manage
.
vo
.
request
;
import
lombok.Data
;
import
java.io.Serializable
;
/**
*
* @description:
*
* @author wudi
* @date 10:46 2021/11/21
*/
@Data
public
class
GLNRequestBo
implements
Serializable
{
private
String
captcha
;
private
String
uuid
;
private
String
code
;
private
String
type
;
private
String
requestedLanguage
;
}
src/main/java/io/office/modules/manage/webservice/Address.java
0 → 100644
View file @
fd4aa0e1
package
io
.
office
.
modules
.
manage
.
webservice
;
import
lombok.Data
;
import
javax.xml.bind.annotation.XmlAccessType
;
import
javax.xml.bind.annotation.XmlAccessorType
;
import
javax.xml.bind.annotation.XmlRootElement
;
import
java.io.Serializable
;
/**
*
* @description:
*
* @author wudi
* @date 11:11 2021/11/18
*/
@Data
@XmlAccessorType
(
XmlAccessType
.
FIELD
)
@XmlRootElement
(
name
=
"address"
)
public
class
Address
implements
Serializable
{
private
String
name
;
private
String
streetAddressOne
;
private
String
city
;
}
src/main/java/io/office/modules/manage/webservice/GS1CompanyPrefixLicensee.java
0 → 100644
View file @
fd4aa0e1
package
io
.
office
.
modules
.
manage
.
webservice
;
import
lombok.Data
;
import
javax.xml.bind.annotation.XmlAccessType
;
import
javax.xml.bind.annotation.XmlAccessorType
;
import
javax.xml.bind.annotation.XmlRootElement
;
import
java.io.Serializable
;
/**
*
* @description:
*
* @author wudi
* @date 11:13 2021/11/18
*/
@Data
@XmlAccessorType
(
XmlAccessType
.
FIELD
)
@XmlRootElement
(
name
=
"gS1CompanyPrefixLicensee"
)
public
class
GS1CompanyPrefixLicensee
implements
Serializable
{
private
String
partyName
;
}
src/main/java/io/office/modules/manage/webservice/GS1KeyLicensee.java
0 → 100644
View file @
fd4aa0e1
package
io
.
office
.
modules
.
manage
.
webservice
;
import
lombok.Data
;
import
javax.xml.bind.annotation.XmlAccessType
;
import
javax.xml.bind.annotation.XmlAccessorType
;
import
javax.xml.bind.annotation.XmlRootElement
;
import
java.io.Serializable
;
/**
*
* @description:
*
* @author wudi
* @date 11:13 2021/11/18
*/
@Data
@XmlAccessorType
(
XmlAccessType
.
FIELD
)
@XmlRootElement
(
name
=
"gS1KeyLicensee"
)
public
class
GS1KeyLicensee
implements
Serializable
{
private
String
partyName
;
}
src/main/java/io/office/modules/manage/webservice/GepirRequestedKey.java
0 → 100644
View file @
fd4aa0e1
package
io
.
office
.
modules
.
manage
.
webservice
;
import
lombok.Data
;
import
javax.xml.bind.annotation.XmlAccessType
;
import
javax.xml.bind.annotation.XmlAccessorType
;
import
javax.xml.bind.annotation.XmlRootElement
;
/**
*
* @description:
*
* @author wudi
* @date 11:12 2021/11/18
*/
@Data
@XmlAccessorType
(
XmlAccessType
.
FIELD
)
@XmlRootElement
(
name
=
"gepirRequestedKey"
)
public
class
GepirRequestedKey
{
private
String
requestedKeyCode
;
private
String
requestedKeyValue
;
private
String
requestedLanguage
;
}
src/main/java/io/office/modules/manage/webservice/InformationProvider.java
0 → 100644
View file @
fd4aa0e1
package
io
.
office
.
modules
.
manage
.
webservice
;
import
lombok.Data
;
import
javax.xml.bind.annotation.XmlAccessType
;
import
javax.xml.bind.annotation.XmlAccessorType
;
import
javax.xml.bind.annotation.XmlRootElement
;
import
java.io.Serializable
;
/**
*
* @description:
*
* @author wudi
* @date 11:14 2021/11/18
*/
@Data
@XmlAccessorType
(
XmlAccessType
.
FIELD
)
@XmlRootElement
(
name
=
"informationProvider"
)
public
class
InformationProvider
implements
Serializable
{
private
String
partyName
;
private
String
gln
;
}
src/main/java/io/office/modules/manage/webservice/PartyDataLine.java
0 → 100644
View file @
fd4aa0e1
package
io
.
office
.
modules
.
manage
.
webservice
;
import
lombok.Data
;
import
javax.xml.bind.annotation.XmlAccessType
;
import
javax.xml.bind.annotation.XmlAccessorType
;
import
javax.xml.bind.annotation.XmlRootElement
;
/**
*
* @description:
*
* @author wudi
* @date 11:10 2021/11/18
*/
@Data
@XmlAccessorType
(
XmlAccessType
.
FIELD
)
@XmlRootElement
(
name
=
"partyDataLine"
)
public
class
PartyDataLine
{
private
String
gS1CompanyPrefix
;
private
String
partyDataLanguage
;
private
String
returnCode
;
private
Address
address
;
private
GepirRequestedKey
gepirRequestedKey
;
private
GS1CompanyPrefixLicensee
gS1CompanyPrefixLicensee
;
private
GS1KeyLicensee
gS1KeyLicensee
;
private
InformationProvider
informationProvider
;
}
src/main/java/io/office/modules/manage/webservice/PrefixLicenseeResponse.java
0 → 100644
View file @
fd4aa0e1
package
io
.
office
.
modules
.
manage
.
webservice
;
import
lombok.Data
;
import
javax.xml.bind.annotation.XmlAccessType
;
import
javax.xml.bind.annotation.XmlAccessorType
;
import
javax.xml.bind.annotation.XmlRootElement
;
import
java.io.Serializable
;
/**
*
* @description:
*
* @author wudi
* @date 11:05 2021/11/18
*/
@Data
@XmlAccessorType
(
XmlAccessType
.
FIELD
)
@XmlRootElement
(
name
=
"getPrefixLicenseeResponse"
)
public
class
PrefixLicenseeResponse
implements
Serializable
{
private
String
gln
;
private
String
partyName
;
}
src/main/java/io/office/modules/manage/webservice/Test.java
0 → 100644
View file @
fd4aa0e1
package
io
.
office
.
modules
.
manage
.
webservice
;
import
cn.hutool.json.JSONUtil
;
import
org.jdom.Document
;
import
org.jdom.Element
;
import
org.springframework.http.HttpEntity
;
import
org.springframework.http.HttpHeaders
;
import
org.springframework.http.ResponseEntity
;
import
org.springframework.web.client.RestTemplate
;
import
javax.xml.bind.JAXBContext
;
import
javax.xml.bind.JAXBException
;
import
javax.xml.bind.Marshaller
;
import
javax.xml.bind.Unmarshaller
;
import
java.io.IOException
;
import
java.io.Reader
;
import
java.io.StringReader
;
import
java.util.Iterator
;
/**
*
* @description:
*
* @author wudi
* @date 10:06 2021/11/18
*/
public
class
Test
{
public
static
void
main
(
String
[]
args
)
throws
JAXBException
,
IOException
{
String
smsTemplateXml
=
WebServiceXmlTemplate
.
SEND_MESSAGE_TEMPLATE
.
replaceAll
(
"\\$\\{cascade\\}"
,
"9"
).
replaceAll
(
"\\$\\{requestedKeyCode\\}"
,
"GLN"
)
.
replaceAll
(
"\\$\\{requestedKeyValue\\}"
,
"6973947140013"
).
replaceAll
(
"\\$\\{requestedLanguage\\}"
,
"en"
);
String
url
=
"http://webservice.anccnet.com:8080/gepir4/gepirv4.asmx"
;
RestTemplate
restTemplate
=
new
RestTemplate
();
//创建请求头
//创建请求头
HttpHeaders
headers
=
new
HttpHeaders
();
headers
.
set
(
"Content-Type"
,
"text/xml; charset=utf-8"
);
HttpEntity
<
String
>
entity
=
new
HttpEntity
<>(
smsTemplateXml
,
headers
);
ResponseEntity
<
String
>
responseEntity
=
restTemplate
.
postForEntity
(
url
,
entity
,
String
.
class
);
if
(
responseEntity
.
getStatusCode
().
value
()
==
200
)
{
// 下面的是通过解析xml字符串的
Document
doc
=
null
;
String
returnObjs
=
responseEntity
.
getBody
().
substring
(
responseEntity
.
getBody
().
indexOf
(
"<partyDataLine>"
),
responseEntity
.
getBody
().
indexOf
(
"</gepirParty>"
));
//注意 获取根节点的时候要查看返回的xml参数的形式是否为一个根节点
System
.
out
.
println
(
returnObjs
);
Object
xmlObject
=
null
;
Reader
reader
=
null
;
//利用JAXBContext将类转为一个实例
JAXBContext
context
=
JAXBContext
.
newInstance
(
PartyDataLine
.
class
);
//XMl 转为对象的接口
Unmarshaller
unmarshaller
=
context
.
createUnmarshaller
();
reader
=
new
StringReader
(
returnObjs
);
xmlObject
=
unmarshaller
.
unmarshal
(
reader
);
if
(
reader
!=
null
)
{
reader
.
close
();
}
System
.
out
.
println
(
JSONUtil
.
toJsonStr
(
xmlObject
));
/*Object xmlObject = null;
Reader reader = null;
JAXBContext context = JAXBContext.newInstance(clazz);
// XML 转为对象的接口
Unmarshaller unmarshaller = context.createUnmarshaller();
reader = new StringReader(xmlStr);
//以文件流的方式传入这个string
xmlObject = unmarshaller.unmarshal(reader);
if (null != reader) {
reader.close();
}*/
}
/* headers
ResponseEntity<String> responseEntity = restTemplate.postForEntity(url, entity, String.class);
if (responseEntity.getStatusCode().value() == 200) {
if(responseEntity.getBody().contains("<SendSMSResult>-6</SendSMSResult>")){
log.info("发送短信成功");
} else if(responseEntity.getBody().contains("<SendSMSResult>-7</SendSMSResult>")){
throw new BaseException(CommonEnum.SMS_ERROR_TIP_7);
} else if(responseEntity.getBody().contains("<SendSMSResult>-4</SendSMSResult>")){
throw new BaseException(CommonEnum.SMS_ERROR_TIP_4);
} else if(responseEntity.getBody().contains("<SendSMSResult>-3</SendSMSResult>")){
throw new BaseException(CommonEnum.SMS_ERROR_TIP_3);
} else if(responseEntity.getBody().contains("<SendSMSResult>-2</SendSMSResult>")){
throw new BaseException(CommonEnum.SMS_ERROR_TIP_2);
} else if(responseEntity.getBody().contains("<SendSMSResult>-11</SendSMSResult>")){
throw new BaseException(CommonEnum.SMS_ERROR_TIP_11);
} else if(responseEntity.getBody().contains("<SendSMSResult>-12</SendSMSResult>")){
throw new BaseException(CommonEnum.SMS_ERROR_TIP_12);
}*/
}
}
src/main/java/io/office/modules/manage/webservice/WebServiceXmlTemplate.java
0 → 100644
View file @
fd4aa0e1
package
io
.
office
.
modules
.
manage
.
webservice
;
/**
*
* @description:
*
* @author wudi
* @date 10:10 2021/11/18
*/
public
class
WebServiceXmlTemplate
{
public
static
String
SEND_MESSAGE_TEMPLATE
=
"<?xml version=\"1.0\" encoding=\"utf-8\"?>\n"
+
"<soap:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">\n"
+
" <soap:Header>\n"
+
" <requestHeader xmlns=\"http://gepir4.ws.gs1.org/\">\n"
+
" <requesterGLN xmlns=\"\">6900000000007</requesterGLN>\n"
+
" <onBehalfOfGLN xmlns=\"\">6900000000007</onBehalfOfGLN>\n"
+
" <isAuthenticated xmlns=\"\">true</isAuthenticated>\n"
+
" <cascade xmlns=\"\">${cascade}</cascade>\n"
+
" </requestHeader>\n"
+
" </soap:Header>\n"
+
" <soap:Body>\n"
+
" <getPrefixLicensee xmlns=\"http://gepir4.ws.gs1.org/\">\n"
+
" <getPrefixLicensee xmlns=\"\">\n"
+
" <getPrefixLicensee>\n"
+
" <requestedKeyCode>${requestedKeyCode}</requestedKeyCode>\n"
+
" <requestedKeyValue>${requestedKeyValue}</requestedKeyValue>\n"
+
" <requestedLanguage>${requestedLanguage}</requestedLanguage>\n"
+
" </getPrefixLicensee>\n"
+
" </getPrefixLicensee>\n"
+
" </getPrefixLicensee>\n"
+
" </soap:Body>\n"
+
"</soap:Envelope>"
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment