Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: 2 questions about web service(soap) in liferay 7.4.3
hi
i used to use liferay 6.2, when i use servie builder, create a soap servcie is very easy. i am only check the "Remote service", build service, build wsdd, it works.
now, i try use liferay 7.4.3 ga19, i cannot even just build wsdd.
question 1.
i readed the document, Creating-Remote-Services, but when i try access http://localhost:8080/api/axis
my console shows
2022-05-05 05:35:11.893 WARN [http-nio-8080-exec-6][code_jsp:157] {code="404", msg="The requested resource [/api/axis] is not available", uri=/api/axis}
question 2
i install my wsdl builder, here is my settings.gradle
import com.liferay.gradle.plugins.service.builder.ServiceBuilderPlugin
import com.liferay.gradle.plugins.wsdd.builder.WSDDBuilderPlugin
buildscript {
dependencies {
classpath group: "biz.aQute.bnd", name: "biz.aQute.bnd", version: "5.2.0"
classpath(group: "com.liferay", name: "com.liferay.gradle.plugins.workspace", version: "3.4.27") {
exclude group: "biz.aQute.bnd", module: "biz.aQute.bnd"
}
classpath group: "net.saliman", name: "gradle-properties-plugin", version: "1.4.6"
}
repositories {
maven {
url "https://repository-cdn.liferay.com/nexus/content/groups/public"
}
maven {
url "https://repository.liferay.com/nexus/content/groups/public"
}
}
}
apply plugin: "net.saliman.properties"
apply plugin: "com.liferay.workspace"
gradle.beforeProject {
project ->
project.plugins.withType(ServiceBuilderPlugin) {
project.apply plugin: WSDDBuilderPlugin
}
}
i try gradle script
- mytest-service, buildService
- mytest-api, build
- mytest-service, buildWSDD
console shows
java.lang.ClassNotFoundException: com.mytest.service.http.Product_RecordServiceSoap
and i try build servial times, *Soap just not exist. i do believe the class should be generated by buildService, but not.
is there any document to help me create soap service for my service-builder app? is soap not supported in 7.4
Hi Scarletake,
1. help.liferay.com documentation isn't guaranteed to work for 7.4. Refere to learn.liferay.com instead. If something is missing from Liferay Learn but it's included in Help Center, there's either a documentation gap or it was left out on purpose.
2. It appears soap is not supported in 7.4. It was deprecated in 7.3.
Related question in Liferay Ask
hi Russell
thank you for your info. i did not know it.
Powered by Liferay™